hwsecurity-openpgp / de.cotech.hw.openpgp / OpenPgpSecurityKeyConnectionModeConfig / Builder / addOpenPgpAidPrefix /

addOpenPgpAidPrefix

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.To add the default back, use addDefaultOpenPgpAidPrefixes.

Throws

Name Summary
java.lang.IllegalArgumentException if hexStringAidPrefix does not contain a valid hex-encoded byte sequence

open fun addOpenPgpAidPrefix(aidPrefix: Array< Byte>): OpenPgpSecurityKeyConnectionModeConfig.Builder

This adds an AID prefix to the list of accepted prefixes.