CKM_ENCODE_PUBLIC_KEY
This section provides a summary of CKM_ENCODE_PUBLIC_KEY.
Supported operations
| Operation | Supported |
|---|---|
| Encrypt and Decrypt | No |
| Sign and Verify | No |
| SignRecover and VerifyRecover | No |
| Digest | No |
| Generate Key/Key-Pair | No |
| Wrap and Unwrap | Yes |
| Derive | No |
FIPS Mode support
| Available in FIPS Mode | Restrictions in FIPS Mode |
|---|---|
| Yes | None |
Key Size Range and Parameters
| Key size minimum/maximum | Value |
|---|---|
| Minimum | 0 |
| FIPS Minimum | 0 |
| Maximum | None |
Parameter
None
Mechanism description
This wrapping mechanism performs a DER encoding of a Public Key object. The encoding is not encrypted therefore the wrapping key object handle parameter is ignored.
Public keys of type CKK_RSA, CKK_DSA, and CKK_DH can be encoded with this mechanism. The encoding format is defined in PKCS#1. This mechanism has no parameter.
Return to ProtectToolkit-C mechanisms.