Package fr.paris.lutece.util.rsa
Class RSAKeyDatastoreProvider
- java.lang.Object
-
- fr.paris.lutece.util.rsa.RSAKeyDatastoreProvider
-
- All Implemented Interfaces:
IRSAKeyProvider
public class RSAKeyDatastoreProvider extends Object implements IRSAKeyProvider
-
-
Constructor Summary
Constructors Constructor Description RSAKeyDatastoreProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateKeygetPrivateKey()get private keyPublicKeygetPublicKey()get public key
-
-
-
Method Detail
-
getPublicKey
public PublicKey getPublicKey() throws GeneralSecurityException
Description copied from interface:IRSAKeyProviderget public key- Specified by:
getPublicKeyin interfaceIRSAKeyProvider- Returns:
- the key
- Throws:
GeneralSecurityException
-
getPrivateKey
public PrivateKey getPrivateKey() throws GeneralSecurityException
Description copied from interface:IRSAKeyProviderget private key- Specified by:
getPrivateKeyin interfaceIRSAKeyProvider- Returns:
- the key
- Throws:
GeneralSecurityException
-
-