Package fr.paris.lutece.util.rsa
Interface IRSAKeyProvider
-
- All Known Implementing Classes:
RSAKeyDatastoreProvider,RSAKeyEnvironmentProvider
public interface IRSAKeyProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateKeygetPrivateKey()get private keyPublicKeygetPublicKey()get public key
-
-
-
Method Detail
-
getPublicKey
PublicKey getPublicKey() throws GeneralSecurityException
get public key- Returns:
- the key
- Throws:
GeneralSecurityException
-
getPrivateKey
PrivateKey getPrivateKey() throws GeneralSecurityException
get private key- Returns:
- the key
- Throws:
GeneralSecurityException
-
-