public class Decrypter
extends org.opensaml.xml.encryption.Decrypter
EncryptedElementType
objects.
For information on other parameters and options, and general XML Encryption issues,
see Decrypter
.
Constructor and Description |
---|
Decrypter(org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver newResolver,
org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver newKEKResolver,
org.opensaml.xml.encryption.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.
|
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(org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver newResolver, org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver newKEKResolver, org.opensaml.xml.encryption.EncryptedKeyResolver newEncKeyResolver)
newResolver
- resolver for data encryption keys.newKEKResolver
- resolver for key encryption keys.newEncKeyResolver
- resolver for EncryptedKey elementspublic Assertion decrypt(EncryptedAssertion encryptedAssertion) throws org.opensaml.xml.encryption.DecryptionException
encryptedAssertion
- the EncryptedAssertion to decryptorg.opensaml.xml.encryption.DecryptionException
- thrown when decryption generates an errorpublic Attribute decrypt(EncryptedAttribute encryptedAttribute) throws org.opensaml.xml.encryption.DecryptionException
encryptedAttribute
- the EncryptedAttribute to decryptorg.opensaml.xml.encryption.DecryptionException
- thrown when decryption generates an errorpublic SAMLObject decrypt(EncryptedID encryptedID) throws org.opensaml.xml.encryption.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 decryptorg.opensaml.xml.encryption.DecryptionException
- thrown when decryption generates an errorpublic NewID decrypt(NewEncryptedID newEncryptedID) throws org.opensaml.xml.encryption.DecryptionException
newEncryptedID
- the NewEncryptedID to decryptorg.opensaml.xml.encryption.DecryptionException
- thrown when decryption generates an errorCopyright © 1999-2013. All Rights Reserved.