Builder

class Builder

A builder for AccessControlProfile.

Constructors

Link copied to clipboard
constructor(@NonNull accessControlProfileId: AccessControlProfileId)
Each access control profile has numeric identifier that must be unique within the context of a Credential and may be used to reference the profile.

Functions

Link copied to clipboard
Creates a new AccessControlProfile from the data supplied to the builder.
Link copied to clipboard
@CanIgnoreReturnValue
open fun setReaderCertificate(@NonNull readerCertificate: X509Certificate): AccessControlProfile.Builder
Sets the reader certificate to use when checking access control.
Link copied to clipboard
@CanIgnoreReturnValue
open fun setUserAuthenticationRequired(userAuthenticationRequired: Boolean): AccessControlProfile.Builder
Set whether user authentication is required.
Link copied to clipboard
@CanIgnoreReturnValue
open fun setUserAuthenticationTimeout(userAuthenticationTimeoutMillis: Long): AccessControlProfile.Builder
Sets the authentication timeout to use.