Package top.focess.util
Class RSAKeypair
- java.lang.Object
-
- top.focess.util.Pair<String,String>
-
- top.focess.util.RSAKeypair
-
- All Implemented Interfaces:
Serializable,FocessSerializable
public class RSAKeypair extends Pair<String,String>
This class is used to store a RSA Keypair.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RSAKeypair(String publicKey, String privateKey)Constructs a new RSAKeypair with the given public key and private key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPrivateKey()Get the private keyStringgetPublicKey()Get the public key
-