public class AttestationObjectConverter
extends java.lang.Object
AttestationObject| Constructor and Description |
|---|
AttestationObjectConverter(CborConverter cborConverter) |
| Modifier and Type | Method and Description |
|---|---|
AttestationObject |
convert(byte[] source)
Converts from a byte array to
AttestationObject. |
AttestationObject |
convert(java.lang.String source)
Converts from a base64url
String to AttestationObject. |
java.lang.String |
convertToBase64urlString(AttestationObject source)
Converts from a
AttestationObject to String. |
byte[] |
convertToBytes(AttestationObject source)
Converts from a
AttestationObject to byte[]. |
byte[] |
extractAttestationStatement(byte[] attestationObject)
Extract attestation statement byte array from a attestationObject byte array.
|
byte[] |
extractAuthenticatorData(byte[] attestationObject)
Extract authenticatorData byte array from a attestationObject byte array.
|
public AttestationObjectConverter(CborConverter cborConverter)
public AttestationObject convert(java.lang.String source)
String to AttestationObject.source - the source byte array to convertpublic AttestationObject convert(byte[] source)
AttestationObject.source - the source byte array to convertpublic byte[] convertToBytes(AttestationObject source)
AttestationObject to byte[].source - the source object to convertpublic java.lang.String convertToBase64urlString(AttestationObject source)
AttestationObject to String.source - the source object to convertpublic byte[] extractAuthenticatorData(byte[] attestationObject)
attestationObject - the attestationObject byte arraypublic byte[] extractAttestationStatement(byte[] attestationObject)
attestationObject - the attestationObject byte array