Package fr.paris.lutece.util.rsa
Class RSAKeyPairUtil
- java.lang.Object
-
- fr.paris.lutece.util.rsa.RSAKeyPairUtil
-
public class RSAKeyPairUtil extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RSAKeyPairUtilgetInstance()PrivateKeygetPrivateKey()PublicKeygetPublicKey()
-
-
-
Method Detail
-
getInstance
public static RSAKeyPairUtil getInstance() throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
getPrivateKey
public PrivateKey getPrivateKey()
- Returns:
- the privateKey
-
getPublicKey
public PublicKey getPublicKey()
- Returns:
- the publicKey
-
-