Package fr.paris.lutece.util.rsa
Class RSAKeyEnvironmentProvider
java.lang.Object
fr.paris.lutece.util.rsa.RSAKeyEnvironmentProvider
- All Implemented Interfaces:
IRSAKeyProvider
@Alternative
@ApplicationScoped
public class RSAKeyEnvironmentProvider
extends Object
implements IRSAKeyProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget private keyget public key
-
Constructor Details
-
RSAKeyEnvironmentProvider
public RSAKeyEnvironmentProvider()
-
-
Method Details
-
getPublicKey
Description copied from interface:IRSAKeyProviderget public key- Specified by:
getPublicKeyin interfaceIRSAKeyProvider- Returns:
- the key
- Throws:
GeneralSecurityException
-
getPrivateKey
Description copied from interface:IRSAKeyProviderget private key- Specified by:
getPrivateKeyin interfaceIRSAKeyProvider- Returns:
- the key
- Throws:
GeneralSecurityException
-