Class RegistrationResponse

java.lang.Object
com.jadaptive.webauthn.server.model.RegistrationResponse

public class RegistrationResponse extends Object
When a relying party app sends a Webauthn registration request to a Webauthn device to create a PKI key, the Webauthn device sends back a response with public key details. This response is captured by this object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegistrationResponse(com.yubico.webauthn.data.ByteArray requestId, com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAttestationResponse,com.yubico.webauthn.data.ClientRegistrationExtensionOutputs> credential, Optional<com.yubico.webauthn.data.ByteArray> sessionToken)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAttestationResponse,com.yubico.webauthn.data.ClientRegistrationExtensionOutputs>
     
    com.yubico.webauthn.data.ByteArray
     
    Optional<com.yubico.webauthn.data.ByteArray>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegistrationResponse

      public RegistrationResponse(com.yubico.webauthn.data.ByteArray requestId, com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAttestationResponse,com.yubico.webauthn.data.ClientRegistrationExtensionOutputs> credential, Optional<com.yubico.webauthn.data.ByteArray> sessionToken)
  • Method Details

    • getRequestId

      public com.yubico.webauthn.data.ByteArray getRequestId()
    • getCredential

      public com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAttestationResponse,com.yubico.webauthn.data.ClientRegistrationExtensionOutputs> getCredential()
    • getSessionToken

      public Optional<com.yubico.webauthn.data.ByteArray> getSessionToken()