hwsecurity-openpgp / de.cotech.hw.openpgp / OpenPgpSecurityKeyAuthenticator /

OpenPgpSecurityKeyAuthenticator

open class OpenPgpSecurityKeyAuthenticator

Constructors

Name Summary
OpenPgpSecurityKeyAuthenticator open fun OpenPgpSecurityKeyAuthenticator(openPgpSecurityKey: OpenPgpSecurityKey, pinProvider: PinProvider)Create an instance parametrized with a OpenPgpAppletConnection, and a PinProvider.

Functions

Name Summary
authenticatePresignedDigest open fun authenticatePresignedDigest(digest: Array<Byte>, hashAlgo: String): Array<Byte>
authenticateWithDigest open fun authenticateWithDigest(challenge: Array<Byte>, hashAlgo: String): Array<Byte>
retrieveCertificateData open fun retrieveCertificateData(): Array<Byte>
retrievePublicKey open fun retrievePublicKey(): PublicKey