generateKeyPair
Generates a key pair in the security module and returns the public key.
Type:
securitymodule
Script:
generateKeyPair

The following table lists and describes the generateKeyPair input parameters.
Parameter Key |
Value Source |
Format/Values |
Description |
---|---|---|---|
algorithm |
Credential Provider (from Profile) |
RSA |
Algorithm of the key. |
keySize |
Credential Provider (from Profile) |
1024, 2048 |
Key size. |
publicExponent |
(Optional) From Credential Provider or workflow where it is not provided by provider |
A hex string representation of a byte array that matches the following regular expression: ([0-9A-F][0-9A-F])*
For example, an even number of characters in the hex range of 0-9 or A-F. |
A hex representation of an RSA public exponent (for example, C3948F3...). |

The following table lists and describes the output parameters for generateKeyPair.
Parameter Key |
Format/Values |
Description |
---|---|---|
publicKey |
PEM/Base64 encoded byte array |
Public key from the key pair generation. |