Package uk.gov.ida.saml.security
Class SecretKeyDecryptorFactory
- java.lang.Object
-
- uk.gov.ida.saml.security.SecretKeyDecryptorFactory
-
public class SecretKeyDecryptorFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SecretKeyDecryptorFactory(IdaKeyStoreCredentialRetriever idaKeyStoreCredentialRetriever)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml.saml2.encryption.DecryptercreateDecrypter(java.lang.String encryptedSecretKey)
-
-
-
Constructor Detail
-
SecretKeyDecryptorFactory
public SecretKeyDecryptorFactory(IdaKeyStoreCredentialRetriever idaKeyStoreCredentialRetriever)
-
-
Method Detail
-
createDecrypter
public org.opensaml.saml.saml2.encryption.Decrypter createDecrypter(java.lang.String encryptedSecretKey) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.InvalidKeyException- Throws:
java.security.NoSuchAlgorithmExceptionjavax.crypto.NoSuchPaddingExceptionjava.security.InvalidKeyException
-
-