z/OS Cryptographic Services ICSF System Programmer's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


PKA Key Token Formats

z/OS Cryptographic Services ICSF System Programmer's Guide
SA22-7520-17

As with DES key tokens, the first byte of a PKA key token indicates the type of token. If the first byte of the key identifier is X'1E' or X'1F', this indicates that it is a PKA key token.

A first byte of X'1E' indicates an external token with a cleartext public key and optionally a private key that is either in cleartext or enciphered by a transport key-encrypting key.

A first byte of X'1F' indicates an internal token with a cleartext public key and a private key that is enciphered by the master key and ready for internal use.

Although DES tokens are 64 bytes, PKA tokens are of variable length because they contain either RSA or DSS key values, which are variable in length. Consequently, length parameters precede all PKA token parameters. The maximum allowed size is 3500 bytes. PKA key tokens consist of a token header, any required sections, and optional sections, which depend on the token type.

A PKA key token can be a public or private key token, and a private key token can be internal or external. Therefore, there are three basic types of tokens, each of which can contain either RSA or DSS information:

  • Public key tokens
  • Private external key tokens
  • Private internal key tokens

Public key tokens contain only the public key. Private key tokens contain the public and private key pair.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014