|
CXI
|
This class provides methods to create and handle key component lists. More...
Public Member Functions | |
| KeyComponents () | |
| Creates an empty key component list. | |
| KeyComponents (byte[] value) | |
| Creates a KeyComponents object from the given input data. More... | |
| void | add (byte[] tag, byte[] value) |
| Adds a key component to the component list. More... | |
| void | add (byte[] tag, BigInteger value) |
| Adds a key component to the component list. More... | |
| byte[] | getList () |
| Returns the serialized key component list. | |
| byte[] | getItem (byte[] tag) throws CryptoServerException |
| Returns a specified key component. More... | |
Static Public Attributes | |
| static final byte[] | TYPE_P = { (byte)'P', (byte)' ' } |
| RSA: Prime P. | |
| static final byte[] | TYPE_Q = { (byte)'Q', (byte)' ' } |
| RSA: Prime Q. | |
| static final byte[] | TYPE_DP = { (byte)'D', (byte)'P' } |
| RSA: dP := D mod P-1. | |
| static final byte[] | TYPE_DQ = { (byte)'D', (byte)'Q' } |
| RSA: dQ := D mod Q-1. | |
| static final byte[] | TYPE_U = { (byte)'U', (byte)' ' } |
| RSA: Coefficient U := Q^-1 mod P-1. | |
| static final byte[] | TYPE_SEXP = { (byte)'S', (byte)'E' } |
| RSA: Private (Secret) Exponent. | |
| static final byte[] | TYPE_PEXP = { (byte)'P', (byte)'E' } |
| RSA: Public Exponent. | |
| static final byte[] | TYPE_MOD = { (byte)'M', (byte)'O' } |
| RSA: Modulus. | |
| static final byte[] | TYPE_SK = { (byte)'S', (byte)'K' } |
| DSA,ECDSA: Private (Secret) Key. | |
| static final byte[] | TYPE_PK = { (byte)'P', (byte)'K' } |
| DSA,ECDSA: Public Key. | |
This class provides methods to create and handle key component lists.
Key components are used to specify a key or part of a key.