Package | Description |
---|---|
org.opensaml.xmlsec.encryption.support |
Functional support for XML Encryption.
|
Modifier and Type | Field and Description |
---|---|
private EncryptedData |
ChainingEncryptedKeyResolver.ChainingIterable.encryptedData
The EncryptedData context for resolution.
|
private EncryptedData |
ChainingEncryptedKeyResolver.ChainingIterator.encryptedData
The EncryptedData context for resolution.
|
Modifier and Type | Method and Description |
---|---|
EncryptedData |
Encrypter.encryptElement(org.opensaml.core.xml.XMLObject xmlObject,
DataEncryptionParameters encParams)
Encrypts the DOM representation of the XMLObject.
|
EncryptedData |
Encrypter.encryptElement(org.opensaml.core.xml.XMLObject xmlObject,
DataEncryptionParameters encParams,
KeyEncryptionParameters kekParams)
Encrypts the DOM representation of the XMLObject, encrypts the encryption key using the specified key encryption
parameters and places the resulting EncryptedKey within the EncryptedData's KeyInfo.
|
EncryptedData |
Encrypter.encryptElement(org.opensaml.core.xml.XMLObject xmlObject,
DataEncryptionParameters encParams,
List<KeyEncryptionParameters> kekParamsList)
Encrypts the DOM representation of the XMLObject, encrypts the encryption key using the specified key encryption
parameters and places the resulting EncryptedKey(s) within the EncryptedData's KeyInfo.
|
private EncryptedData |
Encrypter.encryptElement(org.opensaml.core.xml.XMLObject xmlObject,
DataEncryptionParameters encParams,
List<KeyEncryptionParameters> kekParamsList,
boolean encryptContentMode)
Encrypts the given XMLObject using the specified encryption key, algorithm URI and content mode flag.
|
protected EncryptedData |
Encrypter.encryptElement(org.opensaml.core.xml.XMLObject xmlObject,
Key encryptionKey,
String encryptionAlgorithmURI,
boolean encryptContentMode)
Encrypts the given XMLObject using the specified encryption key, algorithm URI and content mode flag.
|
EncryptedData |
Encrypter.encryptElementContent(org.opensaml.core.xml.XMLObject xmlObject,
DataEncryptionParameters encParams)
Encrypts the DOM representation of the content of an XMLObject.
|
EncryptedData |
Encrypter.encryptElementContent(org.opensaml.core.xml.XMLObject xmlObject,
DataEncryptionParameters encParams,
KeyEncryptionParameters kekParams)
Encrypts the DOM representation of the content of an XMLObject, encrypts the encryption key using the specified
key encryption parameters and places the resulting EncryptedKey within the EncryptedData's KeyInfo..
|
EncryptedData |
Encrypter.encryptElementContent(org.opensaml.core.xml.XMLObject xmlObject,
DataEncryptionParameters encParams,
List<KeyEncryptionParameters> kekParamsList)
Encrypts the DOM representation of the content of an XMLObject, encrypts the encryption key using the specified
key encryption parameters and places the resulting EncryptedKey(s) within the EncryptedData's KeyInfo..
|
Modifier and Type | Method and Description |
---|---|
org.opensaml.core.xml.XMLObject |
Decrypter.decryptData(EncryptedData encryptedData)
This is a convenience method for calling
Decrypter.decryptData(EncryptedData, boolean) ,
with the rootInNewDocument parameter value supplied by Decrypter.isRootInNewDocument() . |
org.opensaml.core.xml.XMLObject |
Decrypter.decryptData(EncryptedData encryptedData,
boolean rootInNewDocument)
Decrypts the supplied EncryptedData and returns the resulting XMLObject.
|
DocumentFragment |
Decrypter.decryptDataToDOM(EncryptedData encryptedData)
Decrypts the supplied EncryptedData and returns the resulting DOM
DocumentFragment . |
DocumentFragment |
Decrypter.decryptDataToDOM(EncryptedData encryptedData,
Key dataEncKey)
Decrypts the supplied EncryptedData using the specified key, and returns the resulting DOM
DocumentFragment . |
List<org.opensaml.core.xml.XMLObject> |
Decrypter.decryptDataToList(EncryptedData encryptedData)
This is a convenience method for calling
Decrypter.decryptDataToList(EncryptedData, boolean) ,
with the rootInNewDocument parameter value supplied by Decrypter.isRootInNewDocument() . |
List<org.opensaml.core.xml.XMLObject> |
Decrypter.decryptDataToList(EncryptedData encryptedData,
boolean rootInNewDocument)
Decrypts the supplied EncryptedData and returns the resulting list of XMLObjects.
|
private DocumentFragment |
Decrypter.decryptUsingResolvedEncryptedKey(EncryptedData encryptedData,
String algorithm)
Attempt to decrypt by resolving the decryption key by first resolving EncryptedKeys, and using the KEK credential
resolver to resolve the key decryption for each.
|
private DocumentFragment |
Decrypter.decryptUsingResolvedKey(EncryptedData encryptedData)
Attempt to decrypt by resolving the decryption key using the standard credential resolver.
|
protected boolean |
AbstractEncryptedKeyResolver.matchCarriedKeyName(EncryptedData encryptedData,
EncryptedKey encryptedKey)
Evaluate whether an EncryptedKey's CarriedKeyName matches one of the KeyName values
from the EncryptedData context.
|
protected boolean |
AbstractEncryptedKeyResolver.matchDataReference(EncryptedData encryptedData,
EncryptedKey encryptedKey)
Evaluate whether any of the EncryptedKey's DataReferences refer to the EncryptedData
context.
|
Iterable<EncryptedKey> |
EncryptedKeyResolver.resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to
encrypt the specified EncryptedData element.
|
Iterable<EncryptedKey> |
ChainingEncryptedKeyResolver.resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to
encrypt the specified EncryptedData element.
|
Iterable<EncryptedKey> |
SimpleKeyInfoReferenceEncryptedKeyResolver.resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to
encrypt the specified EncryptedData element.
|
Iterable<EncryptedKey> |
InlineEncryptedKeyResolver.resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to
encrypt the specified EncryptedData element.
|
Iterable<EncryptedKey> |
SimpleRetrievalMethodEncryptedKeyResolver.resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to
encrypt the specified EncryptedData element.
|
protected void |
Decrypter.validateAlgorithms(EncryptedData encryptedData)
Validate the algorithms contained within an
EncryptedData . |
Constructor and Description |
---|
ChainingIterable(ChainingEncryptedKeyResolver resolver,
EncryptedData encData)
Constructor.
|
ChainingIterator(ChainingEncryptedKeyResolver resolver,
EncryptedData encData)
Constructor.
|
Copyright © 1999–2015 JBoss by Red Hat. All rights reserved.