Class RegistrationResponse
java.lang.Object
com.jadaptive.webauthn.server.model.RegistrationResponse
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
ConstructorsConstructorDescriptionRegistrationResponse(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 TypeMethodDescriptioncom.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAttestationResponse,com.yubico.webauthn.data.ClientRegistrationExtensionOutputs> com.yubico.webauthn.data.ByteArrayOptional<com.yubico.webauthn.data.ByteArray>
-
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
-