CKM_ENCODE_PUBLIC_KEY

Supported Operations

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

Available in FIPS Mode

Yes

Restrictions in FIPS Mode None

Key Size Range (bytes) and Parameters

Minimum 0
FIPS Minimum 0
Maximum None
Parameter None

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 may be encoded with this mechanism. The encoding format is defined in PKCS#1. This mechanism has no parameter.

Return to SafeNet ProtectToolkit-C Mechanisms