public static class RegisteredCredential.RegisteredCredentialBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RegisteredCredential.RegisteredCredentialBuilder.MandatoryStages |
Modifier and Type | Method and Description |
---|---|
RegisteredCredential |
build() |
RegisteredCredential.RegisteredCredentialBuilder |
credentialId(@NonNull ByteArray credentialId)
The credential ID of the
credential.
|
RegisteredCredential.RegisteredCredentialBuilder |
publicKeyCose(@NonNull ByteArray publicKeyCose)
The credential public key encoded in COSE_Key format, as defined in Section 7 of RFC 8152.
|
RegisteredCredential.RegisteredCredentialBuilder |
signatureCount(long signatureCount)
The stored signature count of the
credential.
|
java.lang.String |
toString() |
RegisteredCredential.RegisteredCredentialBuilder |
userHandle(@NonNull ByteArray userHandle)
The user handle of the user the
credential is registered to.
|
public RegisteredCredential.RegisteredCredentialBuilder credentialId(@NonNull @NonNull ByteArray credentialId)
public RegisteredCredential.RegisteredCredentialBuilder userHandle(@NonNull @NonNull ByteArray userHandle)
UserIdentity.getId()
public RegisteredCredential.RegisteredCredentialBuilder publicKeyCose(@NonNull @NonNull ByteArray publicKeyCose)
public RegisteredCredential.RegisteredCredentialBuilder signatureCount(long signatureCount)
This is used to validate the signature counter
in authentication
assertions.
public RegisteredCredential build()
public java.lang.String toString()
toString
in class java.lang.Object