public class Decrypter extends Decrypter
EncryptedElementType
objects.
For information on other parameters and options, and general XML Encryption issues,
see Decrypter
.
Constructor and Description |
---|
Decrypter(KeyInfoCredentialResolver newResolver,
KeyInfoCredentialResolver newKEKResolver,
EncryptedKeyResolver newEncKeyResolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Assertion |
decrypt(EncryptedAssertion encryptedAssertion)
Decrypt the specified EncryptedAssertion.
|
Attribute |
decrypt(EncryptedAttribute encryptedAttribute)
Decrypt the specified EncryptedAttribute.
|
SAMLObject |
decrypt(EncryptedID encryptedID)
Decrypt the specified EncryptedID.
|
NewID |
decrypt(NewEncryptedID newEncryptedID)
Decrypt the specified NewEncryptedID.
|
buildParserPool, checkAndMarshall, decryptData, decryptData, decryptDataToDOM, decryptDataToDOM, decryptDataToList, decryptDataToList, decryptKey, decryptKey, getEncryptedKeyResolver, getJCAProviderName, getKEKResolver, getKEKResolverCriteria, getKeyResolver, isRootInNewDocument, preProcessEncryptedKey, setEncryptedKeyResolver, setJCAProviderName, setKEKResolver, setKEKResolverCriteria, setKeyResolver, setKeyResolverCriteria, setKeyResolverCriteria, setRootInNewDocument
public Decrypter(KeyInfoCredentialResolver newResolver, KeyInfoCredentialResolver newKEKResolver, EncryptedKeyResolver newEncKeyResolver)
newResolver
- resolver for data encryption keys.newKEKResolver
- resolver for key encryption keys.newEncKeyResolver
- resolver for EncryptedKey elementspublic Assertion decrypt(EncryptedAssertion encryptedAssertion) throws DecryptionException
encryptedAssertion
- the EncryptedAssertion to decryptDecryptionException
- thrown when decryption generates an errorpublic Attribute decrypt(EncryptedAttribute encryptedAttribute) throws DecryptionException
encryptedAttribute
- the EncryptedAttribute to decryptDecryptionException
- thrown when decryption generates an errorpublic SAMLObject decrypt(EncryptedID encryptedID) throws DecryptionException
Note that an EncryptedID can contain a NameID, an Assertion or a BaseID. It is up to the caller to determine the type of the resulting SAMLObject.
encryptedID
- the EncryptedID to decryptDecryptionException
- thrown when decryption generates an errorpublic NewID decrypt(NewEncryptedID newEncryptedID) throws DecryptionException
newEncryptedID
- the NewEncryptedID to decryptDecryptionException
- thrown when decryption generates an errorCopyright © 2018 JBoss by Red Hat. All rights reserved.