Package | Description |
---|---|
org.opensaml.xml.encryption |
XMLObject interfaces and helper classes for representing encrypted content and encrypting/decrypting content.
|
org.opensaml.xml.encryption.impl |
Implementations of the interfaces for XMLObjects that represent XML encryption types.
|
Modifier and Type | Method and Description |
---|---|
EncryptedData |
Encrypter.encryptElement(XMLObject xmlObject,
EncryptionParameters encParams)
Encrypts the DOM representation of the XMLObject.
|
EncryptedData |
Encrypter.encryptElement(XMLObject xmlObject,
EncryptionParameters 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(XMLObject xmlObject,
EncryptionParameters 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.
|
protected EncryptedData |
Encrypter.encryptElement(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(XMLObject xmlObject,
EncryptionParameters encParams)
Encrypts the DOM representation of the content of an XMLObject.
|
EncryptedData |
Encrypter.encryptElementContent(XMLObject xmlObject,
EncryptionParameters 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(XMLObject xmlObject,
EncryptionParameters 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 |
---|---|
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() . |
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<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<XMLObject> |
Decrypter.decryptDataToList(EncryptedData encryptedData,
boolean rootInNewDocument)
Decrypts the supplied EncryptedData and returns the resulting list of XMLObjects.
|
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> |
SimpleRetrievalMethodEncryptedKeyResolver.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> |
SimpleKeyInfoReferenceEncryptedKeyResolver.resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to
encrypt the specified EncryptedData element.
|
Constructor and Description |
---|
ChainingEncryptedKeyResolver.ChainingIterable(ChainingEncryptedKeyResolver resolver,
EncryptedData encData)
Constructor.
|
ChainingEncryptedKeyResolver.ChainingIterator(ChainingEncryptedKeyResolver resolver,
EncryptedData encData)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
EncryptedDataImpl
Concrete implementation of
EncryptedData . |
Modifier and Type | Method and Description |
---|---|
EncryptedData |
EncryptedDataBuilder.buildObject()
Builds an XMLObject using the default name and namespace information provided XML Encryption specifications.
|
EncryptedData |
EncryptedDataBuilder.buildObject(String namespaceURI,
String localName,
String namespacePrefix)
Creates an XMLObject with a given fully qualified name.
|
Copyright © 1999–2014. All rights reserved.