pkcs11 icon indicating copy to clipboard operation
pkcs11 copied to clipboard

p11: Add Mechanism.Type() and Mechanism.Parameter()

Open JeremyRand opened this issue 3 years ago • 0 comments

I chose to add 2 methods instead of exporting the pkcs11.Mechanism because this way the calling code is less verbose, i.e. mechanism.Type() instead of mechanism.Mechanism.Mechanism.

Fixes https://github.com/miekg/pkcs11/issues/158

JeremyRand avatar Aug 12 '22 19:08 JeremyRand