Package com.yubico.webauthn.data
Class Extensions.LargeBlob.LargeBlobAuthenticationInput
- java.lang.Object
-
- com.yubico.webauthn.data.Extensions.LargeBlob.LargeBlobAuthenticationInput
-
- Enclosing class:
- Extensions.LargeBlob
public static final class Extensions.LargeBlob.LargeBlobAuthenticationInput extends java.lang.ObjectExtension inputs for the Large blob storage extension (largeBlob) in authentication ceremonies.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)booleangetRead()java.util.Optional<ByteArray>getWrite()inthashCode()static Extensions.LargeBlob.LargeBlobAuthenticationInputread()Configure the Large blob storage extension (largeBlob) to fetch the previously-written blob associated with the asserted credential.java.lang.StringtoString()static Extensions.LargeBlob.LargeBlobAuthenticationInputwrite(@NonNull ByteArray write)Configure the Large blob storage extension (largeBlob) to store the given byte array with the existing credential.
-
-
-
Method Detail
-
read
public static Extensions.LargeBlob.LargeBlobAuthenticationInput read()
Configure the Large blob storage extension (largeBlob) to fetch the previously-written blob associated with the asserted credential.Mutually exclusive with
write(ByteArray).
-
write
public static Extensions.LargeBlob.LargeBlobAuthenticationInput write(@NonNull @NonNull ByteArray write)
Configure the Large blob storage extension (largeBlob) to store the given byte array with the existing credential.Mutually exclusive with
read().
-
getRead
public boolean getRead()
- Returns:
trueif thereadproperty is set totrue,falseotherwise.- See Also:
read(), §10.5. Large blob storage extension (largeBlob)
-
getWrite
public java.util.Optional<ByteArray> getWrite()
- Returns:
- The value of the
writeproperty if configured, empty otherwise. - See Also:
write(ByteArray), §10.5. Large blob storage extension (largeBlob)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-