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 TypeMethodDescriptionbooleangetBlob()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.inthashCode()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
OptionalifExtensions.LargeBlob.LargeBlobAuthenticationInput.getRead()wastrueand the blob content was successfully read. Otherwise (ifExtensions.LargeBlob.LargeBlobAuthenticationInput.getRead()wasfalseor 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. Otherwisetrueif and only if the value ofExtensions.LargeBlob.LargeBlobAuthenticationInput.getWrite()was successfully stored by the authenticator. - See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-