|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.encryption.Decrypter
org.opensaml.saml2.encryption.Decrypter
public class Decrypter
Class which implements SAML2-specific options for EncryptedElementType
objects.
For information on other parameters and options, and general XML Encryption issues,
see Decrypter
.
Constructor Summary | |
---|---|
Decrypter(org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver newResolver,
org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver newKEKResolver,
org.opensaml.xml.encryption.EncryptedKeyResolver newEncKeyResolver)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.opensaml.xml.encryption.Decrypter |
---|
checkAndMarshall, decryptData, decryptData, decryptDataToDOM, decryptDataToDOM, decryptDataToList, decryptDataToList, decryptKey, decryptKey, getEncryptedKeyResolver, getJCAProviderName, getKEKResolver, getKEKResolverCriteria, getKeyResolver, isRootInNewDocument, preProcessEncryptedKey, setEncryptedKeyResolver, setJCAProviderName, setKEKResolver, setKEKResolverCriteria, setKeyResolver, setKeyResolverCriteria, setKeyResolverCriteria, setRootInNewDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 elementsMethod Detail |
---|
public Assertion decrypt(EncryptedAssertion encryptedAssertion) throws org.opensaml.xml.encryption.DecryptionException
encryptedAssertion
- the EncryptedAssertion to decrypt
org.opensaml.xml.encryption.DecryptionException
- thrown when decryption generates an errorpublic Attribute decrypt(EncryptedAttribute encryptedAttribute) throws org.opensaml.xml.encryption.DecryptionException
encryptedAttribute
- the EncryptedAttribute to decrypt
org.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 decrypt
org.opensaml.xml.encryption.DecryptionException
- thrown when decryption generates an errorpublic NewID decrypt(NewEncryptedID newEncryptedID) throws org.opensaml.xml.encryption.DecryptionException
newEncryptedID
- the NewEncryptedID to decrypt
org.opensaml.xml.encryption.DecryptionException
- thrown when decryption generates an error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |