setReaderCertificate
@CanIgnoreReturnValue
Sets the reader certificate to use when checking access control.
If set, this is checked against the certificate chain presented by reader. The access check is fulfilled only if the public key from one of the certificates in the chain, matches the public key in the certificate set by this method.
The default behavior of a AccessControlProfile created from a builder is to not use reader authentication.
Return
The builder.
Parameters
readerCertificate
the certificate to use for the access control check.