Package com.yubico.webauthn.attestation
Class Attestation.AttestationBuilder
- java.lang.Object
-
- com.yubico.webauthn.attestation.Attestation.AttestationBuilder
-
- Enclosing class:
- Attestation
public static class Attestation.AttestationBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attestation.AttestationBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attestation
build()
Attestation.AttestationBuilder
deviceProperties(@NonNull java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> deviceProperties)
Attestation.AttestationBuilder
deviceProperties(java.util.Map<java.lang.String,java.lang.String> deviceProperties)
Attestation.AttestationBuilder
metadataIdentifier(@NonNull java.util.Optional<java.lang.String> metadataIdentifier)
Attestation.AttestationBuilder
metadataIdentifier(java.lang.String metadataIdentifier)
java.lang.String
toString()
Attestation.AttestationBuilder
transports(@NonNull java.util.Optional<java.util.Set<Transport>> transports)
Attestation.AttestationBuilder
transports(java.util.Set<Transport> transports)
Attestation.AttestationBuilder
trusted(boolean trusted)
true
if and only if the contained information has been verified to be cryptographically supported by a trusted attestation root.Attestation.AttestationBuilder
vendorProperties(@NonNull java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> vendorProperties)
Attestation.AttestationBuilder
vendorProperties(java.util.Map<java.lang.String,java.lang.String> vendorProperties)
-
-
-
Method Detail
-
metadataIdentifier
public Attestation.AttestationBuilder metadataIdentifier(@NonNull @NonNull java.util.Optional<java.lang.String> metadataIdentifier)
-
metadataIdentifier
public Attestation.AttestationBuilder metadataIdentifier(java.lang.String metadataIdentifier)
-
vendorProperties
public Attestation.AttestationBuilder vendorProperties(@NonNull @NonNull java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> vendorProperties)
-
vendorProperties
public Attestation.AttestationBuilder vendorProperties(java.util.Map<java.lang.String,java.lang.String> vendorProperties)
-
deviceProperties
public Attestation.AttestationBuilder deviceProperties(@NonNull @NonNull java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> deviceProperties)
-
deviceProperties
public Attestation.AttestationBuilder deviceProperties(java.util.Map<java.lang.String,java.lang.String> deviceProperties)
-
transports
public Attestation.AttestationBuilder transports(@NonNull @NonNull java.util.Optional<java.util.Set<Transport>> transports)
-
transports
public Attestation.AttestationBuilder transports(java.util.Set<Transport> transports)
-
trusted
public Attestation.AttestationBuilder trusted(boolean trusted)
true
if and only if the contained information has been verified to be cryptographically supported by a trusted attestation root.- Returns:
this
.
-
build
public Attestation build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-