|
|||||||||
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.
See additional information about general XML decrytpion issues at Decrypter
.
Constructor Summary | |
---|---|
Decrypter(KeyInfoCredentialResolver newResolver,
KeyInfoCredentialResolver newKEKResolver,
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. |
boolean |
isRootInNewDocument()
Get the flag which indicates whether the DOM Element which backs a decrypted SAML object will be the root of a new DOM document. |
void |
setRootInNewDocument(boolean flag)
Set the flag which indicates whether the DOM Element which backs a decrypted SAML object will be the root of a new DOM document. |
Methods inherited from class org.opensaml.xml.encryption.Decrypter |
---|
checkAndMarshall, decryptData, decryptData, decryptDataToDOM, decryptDataToDOM, decryptDataToList, decryptDataToList, decryptKey, decryptKey, getEncryptedKeyResolver, getKEKResolver, getKEKResolverCriteria, getKeyResolver, setEncryptedKeyResolver, setKEKResolver, setKEKResolverCriteria, setKeyResolver, setKeyResolverCriteria, setKeyResolverCriteria |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Decrypter(KeyInfoCredentialResolver newResolver, KeyInfoCredentialResolver newKEKResolver, EncryptedKeyResolver newEncKeyResolver)
newResolver
- resolver for data encryption keys.newKEKResolver
- resolver for key encryption keys.newEncKeyResolver
- resolver for EncryptedKey elementsMethod Detail |
---|
public boolean isRootInNewDocument()
Decrypter
. This flag will be passed as-is to
Decrypter.decryptData(org.opensaml.xml.encryption.EncryptedData, boolean)
.
public void setRootInNewDocument(boolean flag)
Decrypter
. This flag will be passed as-is to
Decrypter.decryptData(org.opensaml.xml.encryption.EncryptedData, boolean)
.
flag
- the current value of the flag for this decrypter instancepublic Assertion decrypt(EncryptedAssertion encryptedAssertion) throws DecryptionException
encryptedAssertion
- the EncryptedAssertion to decrypt
DecryptionException
- thrown when decryption generates an errorpublic Attribute decrypt(EncryptedAttribute encryptedAttribute) throws DecryptionException
encryptedAttribute
- the EncryptedAttribute to decrypt
DecryptionException
- thrown when decryption generates an errorpublic SAMLObject decrypt(EncryptedID encryptedID) throws DecryptionException
encryptedID
- the EncryptedID to decrypt
DecryptionException
- thrown when decryption generates an errorpublic NewID decrypt(NewEncryptedID newEncryptedID) throws DecryptionException
newEncryptedID
- the NewEncryptedID to decrypt
DecryptionException
- thrown when decryption generates an error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |