Package com.yubico.webauthn.attestation
Class MetadataObject
- java.lang.Object
-
- com.yubico.webauthn.attestation.MetadataObject
-
public final class MetadataObject extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MetadataObject(com.fasterxml.jackson.databind.JsonNode data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.List<com.fasterxml.jackson.databind.JsonNode>
getDevices()
java.lang.String
getIdentifier()
java.util.List<java.security.cert.X509Certificate>
getParsedTrustedCertificates()
java.util.List<java.lang.String>
getTrustedCertificates()
java.util.Map<java.lang.String,java.lang.String>
getVendorInfo()
long
getVersion()
int
hashCode()
static MetadataObject
readDefault()
-
-
-
Method Detail
-
readDefault
public static MetadataObject readDefault()
-
getIdentifier
public java.lang.String getIdentifier()
-
getVersion
public long getVersion()
-
getVendorInfo
public java.util.Map<java.lang.String,java.lang.String> getVendorInfo()
-
getTrustedCertificates
public java.util.List<java.lang.String> getTrustedCertificates()
-
getParsedTrustedCertificates
public java.util.List<java.security.cert.X509Certificate> getParsedTrustedCertificates() throws java.security.cert.CertificateException
- Throws:
java.security.cert.CertificateException
-
getDevices
public java.util.List<com.fasterxml.jackson.databind.JsonNode> getDevices()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-