What features does Crypto11 support?
masterCrypto11 implements standard Golang crypto interfaces using a PKCS#11 backend. Supported features include:
- Key Management: Generation and retrieval of RSA, DSA, and ECDSA keys; importing/retrieval of x509 certificates.
- Asymmetric Operations:
- Signing: PKCS#1 v1.5, PKCS#1 PSS, ECDSA, and DSA.
- Decryption: PKCS#1 v1.5 and PKCS#1 OAEP.
- Symmetric Operations: AES and DES3 encryption/decryption; HMAC support.
- Other: Random number generation.
Important Usage Note: Signing is performed via the crypto.Signer interface, and decryption via the crypto.Decrypter interface. To verify signatures or encrypt messages, you should retrieve the public key and perform those operations in software.