Package com.yubico.yubikit.fido.webauthn
Class AuthenticatorAttestationResponse
java.lang.Object
com.yubico.yubikit.fido.webauthn.AuthenticatorResponse
com.yubico.yubikit.fido.webauthn.AuthenticatorAttestationResponse
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticatorAttestationResponse
(byte[] clientDataJson, AuthenticatorData authenticatorData, List<String> transports, byte[] publicKey, int publicKeyAlgorithm, byte[] attestationObject) AuthenticatorAttestationResponse
(byte[] clientDataJson, List<String> transports, AttestationObject attestationObject) -
Method Summary
Modifier and TypeMethodDescriptionboolean
fromMap
(Map<String, ?> map, SerializationType serializationType) byte[]
byte[]
int
hashCode()
toMap
(SerializationType serializationType) Methods inherited from class com.yubico.yubikit.fido.webauthn.AuthenticatorResponse
getClientDataJson
-
Field Details
-
ATTESTATION_OBJECT
- See Also:
-
TRANSPORTS
- See Also:
-
AUTHENTICATOR_DATA
- See Also:
-
PUBLIC_KEY
- See Also:
-
PUBLIC_KEY_ALGORITHM
- See Also:
-
-
Constructor Details
-
AuthenticatorAttestationResponse
public AuthenticatorAttestationResponse(byte[] clientDataJson, AuthenticatorData authenticatorData, List<String> transports, @Nullable byte[] publicKey, int publicKeyAlgorithm, byte[] attestationObject) -
AuthenticatorAttestationResponse
public AuthenticatorAttestationResponse(byte[] clientDataJson, List<String> transports, AttestationObject attestationObject)
-
-
Method Details
-
getAuthenticatorData
-
getTransports
-
getPublicKey
@Nullable public byte[] getPublicKey() -
getPublicKeyAlgorithm
-
getAttestationObject
public byte[] getAttestationObject() -
toMap
- Specified by:
toMap
in classAuthenticatorResponse
-
fromMap
public static AuthenticatorAttestationResponse fromMap(Map<String, ?> map, SerializationType serializationType) -
equals
-
hashCode
public int hashCode()
-