Package com.yubico.webauthn.data
Class Extensions.LargeBlob.LargeBlobAuthenticationOutput
- java.lang.Object
-
- com.yubico.webauthn.data.Extensions.LargeBlob.LargeBlobAuthenticationOutput
-
- Enclosing class:
- Extensions.LargeBlob
public static final class Extensions.LargeBlob.LargeBlobAuthenticationOutput extends java.lang.Object
Extension outputs for the Large blob storage extension (largeBlob
) in authentication ceremonies.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Optional<ByteArray>
getBlob()
The opaque byte string that was associated with the credential identified byPublicKeyCredential.getId()
.java.util.Optional<java.lang.Boolean>
getWritten()
A boolean that indicates that the contents ofLargeBlobAuthenticationInput#write(ByteArray)
were successfully stored on the authenticator, associated with the specified credential.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getBlob
public java.util.Optional<ByteArray> getBlob()
The opaque byte string that was associated with the credential identified byPublicKeyCredential.getId()
. Only valid ifExtensions.LargeBlob.LargeBlobAuthenticationInput.getRead()
wastrue
.- Returns:
- A present
Optional
ifExtensions.LargeBlob.LargeBlobAuthenticationInput.getRead()
wastrue
and the blob content was successfully read. Otherwise (ifExtensions.LargeBlob.LargeBlobAuthenticationInput.getRead()
wasfalse
or the content failed to be read) an emptyOptional
. - See Also:
- §10.5. Large blob storage extension (largeBlob)
-
getWritten
public java.util.Optional<java.lang.Boolean> getWritten()
A boolean that indicates that the contents ofLargeBlobAuthenticationInput#write(ByteArray)
were successfully stored on the authenticator, associated with the specified credential.- Returns:
- Empty if
Extensions.LargeBlob.LargeBlobAuthenticationInput.getWrite()
was not present. Otherwisetrue
if and only if the value ofExtensions.LargeBlob.LargeBlobAuthenticationInput.getWrite()
was successfully stored by the authenticator. - See Also:
- §10.5. Large blob storage extension (largeBlob)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-