The KeyStore API
You can load and store nShield module-protected keys by using the standard KeyStore API.
This interface allows access to a KeyStore data file by means of a passphrase and an InputStream
or OutputStream
.
nShield KeyStore data files contain only the name-space identifier of the keys stored in them; the actual keys are stored in the Security World regardless of the stream used.
The name-space identifier is the hash of the root key of the individual KeyStore.
The ident
of the KeyStore keys in the Security World begins with this hash and is followed by key-specific characters.
This naming hierarchy allows you to identify the relevant key in Security World tools (such as KeySafe) and remove keys from a KeyStore.
To use an existing KeyStore on another machine in the same Security World, copy both its KeyStore data file and the Security World’s Key Management Data directory to the other machine. |