Class CoreAuthenticationObject

java.lang.Object
com.webauthn4j.verifier.CoreAuthenticationObject
Direct Known Subclasses:
AuthenticationObject

public class CoreAuthenticationObject extends Object
Internal data transfer object for authentication data
  • Constructor Details

    • CoreAuthenticationObject

      public CoreAuthenticationObject(@NotNull @org.jetbrains.annotations.NotNull byte[] credentialId, @NotNull @NotNull AuthenticatorData<AuthenticationExtensionAuthenticatorOutput> authenticatorData, @NotNull @org.jetbrains.annotations.NotNull byte[] authenticatorDataBytes, @NotNull @org.jetbrains.annotations.NotNull byte[] clientDataHash, @NotNull @NotNull CoreServerProperty serverProperty, @NotNull @NotNull CoreAuthenticator authenticator)
  • Method Details

    • getCredentialId

      @NotNull public @org.jetbrains.annotations.NotNull byte[] getCredentialId()
    • getAuthenticatorData

      @NotNull public @NotNull AuthenticatorData<AuthenticationExtensionAuthenticatorOutput> getAuthenticatorData()
    • getAuthenticatorDataBytes

      @NotNull public @org.jetbrains.annotations.NotNull byte[] getAuthenticatorDataBytes()
    • getClientDataHash

      @NotNull public @org.jetbrains.annotations.NotNull byte[] getClientDataHash()
    • getServerProperty

      @NotNull public @NotNull CoreServerProperty getServerProperty()
    • getAuthenticator

      @NotNull public @NotNull CoreAuthenticator getAuthenticator()
    • equals

      public boolean equals(@Nullable @Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object