hwsecurity-openpgp / de.cotech.hw.openpgp / OpenPgpSecurityKeyConnectionModeConfig / Builder /
Builder
open class Builder
Builder for SecurityKeyManagerConfig.
Functions
Name | Summary |
---|---|
addDefaultOpenPgpAidPrefixes |
open fun addDefaultOpenPgpAidPrefixes(): OpenPgpSecurityKeyConnectionModeConfig.Builder This adds the default OpenPGP-Card AID prefix to the list of accepted prefixes. |
addOpenPgpAidPrefix |
open fun addOpenPgpAidPrefix(aidPrefix: Array<Byte>): OpenPgpSecurityKeyConnectionModeConfig.Builder This adds an AID prefix to the list of accepted prefixes. open fun addOpenPgpAidPrefix(hexStringAidPrefix: String): OpenPgpSecurityKeyConnectionModeConfig.Builder This adds an AID prefix to the list of accepted prefixes for the OpenPGP connection mode.Note that once an explicit prefix is added, the default prefix will no longer be included automatically. |
build |
open fun build(): OpenPgpSecurityKeyConnectionModeConfig Constructs a SecurityKeyManagerConfig from the Builder. |