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