Package com.yubico.webauthn.data
Class Extensions.LargeBlob.LargeBlobAuthenticationOutput
java.lang.Object
com.yubico.webauthn.data.Extensions.LargeBlob.LargeBlobAuthenticationOutput
- Enclosing class:
- Extensions.LargeBlob
Extension outputs for the Large blob storage extension (
largeBlob
) in
authentication ceremonies.-
Method Summary
Modifier and TypeMethodDescriptionboolean
getBlob()
The opaque byte string that was associated with the credential identified byPublicKeyCredential.getId()
.A boolean that indicates that the contents ofLargeBlobAuthenticationInput#write(ByteArray)
were successfully stored on the authenticator, associated with the specified credential.int
hashCode()
toString()
-
Method Details
-
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:
-
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:
-
equals
-
hashCode
public int hashCode() -
toString
-