CXI
Loading...
Searching...
No Matches
Public Member Functions | List of all members

This class is used to encapsulate CXI keys. More...

Public Member Functions

 Key (byte[] value) throws CryptoServerException
 Creates a key object from the given data. More...
 
boolean isHandle ()
 Inquires if the key contains a key handle. More...
 
byte[] getEncoded ()
 Returns the key in its encoded (serialized) form. More...
 
KeyAttributes getAttributes () throws CryptoServerException
 Returns the key attributes. More...
 
byte[] getUName () throws NoSuchAlgorithmException, CryptoServerException
 Returns the unique key name. More...
 

Detailed Description

This class is used to encapsulate CXI keys.

A key can either contain

Note
On cryptographic operations the CryptoServer accepts a key handle as well as a key blobs. In case of a key handle the key will be loaded from the internal database, otherwise, in case of a key blob, the chack value (MAC) of the key is checked and the key is decrypted with the MBK.