Class RegistrationRequest

java.lang.Object
com.webauthn4j.data.RegistrationRequest

public class RegistrationRequest extends Object
Data class that represents WebAuthn registration request data
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegistrationRequest(@org.jetbrains.annotations.Nullable byte[] attestationObject, @org.jetbrains.annotations.Nullable byte[] clientDataJSON)
    Constructor
    RegistrationRequest(@org.jetbrains.annotations.Nullable byte[] attestationObject, @org.jetbrains.annotations.Nullable byte[] clientDataJSON, @Nullable String clientExtensionsJSON)
    Constructor
    RegistrationRequest(@org.jetbrains.annotations.Nullable byte[] attestationObject, @org.jetbrains.annotations.Nullable byte[] clientDataJSON, @Nullable String clientExtensionsJSON, @Nullable Set<String> transports)
    Constructor
    RegistrationRequest(@org.jetbrains.annotations.Nullable byte[] attestationObject, @org.jetbrains.annotations.Nullable byte[] clientDataJSON, @Nullable Set<String> transports)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(@Nullable Object o)
     
    @org.jetbrains.annotations.Nullable byte[]
    Returns the attestation object
    @org.jetbrains.annotations.Nullable byte[]
    Returns the ClientDataJSON
    @Nullable String
    Returns the ClientExtensionJSON
    @Nullable Set<String>
    Returns the transports
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RegistrationRequest

      public RegistrationRequest(@Nullable @org.jetbrains.annotations.Nullable byte[] attestationObject, @Nullable @org.jetbrains.annotations.Nullable byte[] clientDataJSON, @Nullable @Nullable String clientExtensionsJSON, @Nullable @Nullable Set<String> transports)
      Constructor
      Parameters:
      attestationObject - attestation object
      clientDataJSON - ClientDataJSON
      clientExtensionsJSON - ClientExtensionJSON
      transports - transports
    • RegistrationRequest

      public RegistrationRequest(@Nullable @org.jetbrains.annotations.Nullable byte[] attestationObject, @Nullable @org.jetbrains.annotations.Nullable byte[] clientDataJSON, @Nullable @Nullable String clientExtensionsJSON)
      Constructor
      Parameters:
      attestationObject - attestation object
      clientDataJSON - ClientDataJSON
      clientExtensionsJSON - ClientExtensionJSON
    • RegistrationRequest

      public RegistrationRequest(@Nullable @org.jetbrains.annotations.Nullable byte[] attestationObject, @Nullable @org.jetbrains.annotations.Nullable byte[] clientDataJSON, @Nullable @Nullable Set<String> transports)
      Constructor
      Parameters:
      attestationObject - attestation object
      clientDataJSON - ClientDataJSON
      transports - transports
    • RegistrationRequest

      public RegistrationRequest(@Nullable @org.jetbrains.annotations.Nullable byte[] attestationObject, @Nullable @org.jetbrains.annotations.Nullable byte[] clientDataJSON)
      Constructor
      Parameters:
      attestationObject - attestation object
      clientDataJSON - ClientDataJSON
  • Method Details

    • getAttestationObject

      @Nullable public @org.jetbrains.annotations.Nullable byte[] getAttestationObject()
      Returns the attestation object
      Returns:
      the attestation object
    • getClientDataJSON

      @Nullable public @org.jetbrains.annotations.Nullable byte[] getClientDataJSON()
      Returns the ClientDataJSON
      Returns:
      the ClientDataJSON
    • getClientExtensionsJSON

      @Nullable public @Nullable String getClientExtensionsJSON()
      Returns the ClientExtensionJSON
      Returns:
      the ClientExtensionJSON
    • getTransports

      @Nullable public @Nullable Set<String> getTransports()
      Returns the transports
      Returns:
      the transports
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object