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.Object
Extension 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 boolean
equals(java.lang.Object o)
boolean
getRead()
java.util.Optional<ByteArray>
getWrite()
int
hashCode()
static Extensions.LargeBlob.LargeBlobAuthenticationInput
read()
Configure the Large blob storage extension (largeBlob
) to fetch the previously-written blob associated with the asserted credential.java.lang.String
toString()
static Extensions.LargeBlob.LargeBlobAuthenticationInput
write(@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:
true
if theread
property is set totrue
,false
otherwise.- See Also:
read()
, §10.5. Large blob storage extension (largeBlob)
-
getWrite
public java.util.Optional<ByteArray> getWrite()
- Returns:
- The value of the
write
property if configured, empty otherwise. - See Also:
write(ByteArray)
, §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
-
-