org.jboss.aerogear.crypto.keys
Class KeyPair
java.lang.Object
org.jboss.aerogear.crypto.keys.KeyPair
public class KeyPair
- extends Object
Represents a pair of cryptographic keys (a public and a private key) used for asymmetric encryption
|
Constructor Summary |
KeyPair()
Initialize the key pair with the standard curve name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyPair
private final KeyPair keyPair
KeyPair
public KeyPair()
- Initialize the key pair with the standard curve name
getPublicKey
public PublicKey getPublicKey()
- Access to the public key
- Returns:
- the reference to the public key
getPrivateKey
public PrivateKey getPrivateKey()
- Access to the private key
- Returns:
- the reference to the private key
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.