Modifier and Type | Field and Description |
---|---|
static byte | ALG_DH KeyPair object containing an DH key pair for modular exponentiation based Diffie Hellman KeyAgreement operations. |
static byte | ALG_DSA |
static byte | ALG_EC_F2M KeyPair object containing an EC key pair for EC operations over fields of characteristic 2 with polynomial basis. |
static byte | ALG_EC_FP KeyPair object containing an EC key pair for EC operations over large prime fields |
static byte | ALG_RSA |
static byte | ALG_RSA_CRT KeyPair object containing a RSA key pair with private key in its Chinese Remainder Theorem form. |
Constructor and Description |
---|
KeyPair(byte algorithm, short keyLength) Constructs a KeyPair instance for the specified algorithm and keylength; the encapsulated keys are uninitialized. |
KeyPair(PublicKey publicKey, PrivateKey privateKey) Constructs a new KeyPair object containing the specified public key and private key. |
Modifier and Type | Method and Description |
---|---|
void | genKeyPair() (Re)Initializes the key objects encapsulated in this KeyPair instance with new key values. |
PrivateKey | getPrivate() Returns a reference to the private key component of this KeyPair object. |
PublicKey | getPublic() Returns a reference to the public key component of this KeyPair object. |
equals
Creates a 1024 bit RSA key pair and stores it to the filesystem as two files: RSA algorithm « Security « Java Tutorial.
Napoleon total war cd key generator free; napoleon total war product key generator; napoleon total war cd key generator; napoleon total war keygen generator; napoleon total war key code generator; download stylizer 5 keygen; download idm5 crack patch; midifile optimizer 7 dongle crack; vipre internet security 2012 activation code; watercad 8. Napoleon total war key code generator free.