Class au.net.aba.security.KeyPair
All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.security.KeyPair
java.lang.Object
|
+----au.net.aba.security.KeyPair
- public final class KeyPair
- extends Object
This class is a simple holder for a key pair (a public key and a private key)
It does not enforce any security, and, when initialised, should be treated
like a PrivateKey.
-
ident
-
-
KeyPair(PublicKey, PrivateKey)
- Constructs a key with the specified public key and private key.
-
getPrivate()
- Returns the private key from this key pair.
-
getPublic()
- Returns the public key from this key pair.
ident
public final static String ident
KeyPair
public KeyPair(PublicKey publicKey,
PrivateKey privateKey)
- Constructs a key with the specified public key and private key.
getPublic
public PublicKey getPublic()
- Returns the public key from this key pair.
getPrivate
public PrivateKey getPrivate()
- Returns the private key from this key pair.
All Packages Class Hierarchy This Package Previous Next Index