Uses of Interface
org.opensaml.xmlsec.encryption.EncryptedData
-
Packages that use EncryptedData Package Description org.opensaml.xmlsec.encryption.support Functional support for XML Encryption. -
-
Uses of EncryptedData in org.opensaml.xmlsec.encryption.support
Fields in org.opensaml.xmlsec.encryption.support declared as EncryptedData Modifier and Type Field Description private EncryptedDataChainingEncryptedKeyResolver.ChainingIterable. encryptedDataThe EncryptedData context for resolution.private EncryptedDataChainingEncryptedKeyResolver.ChainingIterator. encryptedDataThe EncryptedData context for resolution.Methods in org.opensaml.xmlsec.encryption.support that return EncryptedData Modifier and Type Method Description protected EncryptedDataEncrypter. 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.EncryptedDataEncrypter. encryptElement(org.opensaml.core.xml.XMLObject xmlObject, DataEncryptionParameters encParams)Encrypts the DOM representation of the XMLObject.EncryptedDataEncrypter. 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 EncryptedDataEncrypter. 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.EncryptedDataEncrypter. 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.EncryptedDataEncrypter. encryptElementContent(org.opensaml.core.xml.XMLObject xmlObject, DataEncryptionParameters encParams)Encrypts the DOM representation of the content of an XMLObject.EncryptedDataEncrypter. 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..EncryptedDataEncrypter. 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..Methods in org.opensaml.xmlsec.encryption.support with parameters of type EncryptedData Modifier and Type Method Description org.opensaml.core.xml.XMLObjectDecrypter. decryptData(EncryptedData encryptedData)This is a convenience method for callingDecrypter.decryptData(EncryptedData, boolean), with therootInNewDocumentparameter value supplied byDecrypter.isRootInNewDocument().org.opensaml.core.xml.XMLObjectDecrypter. decryptData(EncryptedData encryptedData, boolean rootInNewDocument)Decrypts the supplied EncryptedData and returns the resulting XMLObject.DocumentFragmentDecrypter. decryptDataToDOM(EncryptedData encryptedData)Decrypts the supplied EncryptedData and returns the resulting DOMDocumentFragment.DocumentFragmentDecrypter. decryptDataToDOM(EncryptedData encryptedData, Key dataEncKey)Decrypts the supplied EncryptedData using the specified key, and returns the resulting DOMDocumentFragment.List<org.opensaml.core.xml.XMLObject>Decrypter. decryptDataToList(EncryptedData encryptedData)This is a convenience method for callingDecrypter.decryptDataToList(EncryptedData, boolean), with therootInNewDocumentparameter value supplied byDecrypter.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 DocumentFragmentDecrypter. 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 DocumentFragmentDecrypter. decryptUsingResolvedKey(EncryptedData encryptedData)Attempt to decrypt by resolving the decryption key using the standard credential resolver.protected booleanAbstractEncryptedKeyResolver. matchCarriedKeyName(EncryptedData encryptedData, EncryptedKey encryptedKey)Evaluate whether an EncryptedKey's CarriedKeyName matches one of the KeyName values from the EncryptedData context.protected booleanAbstractEncryptedKeyResolver. matchDataReference(EncryptedData encryptedData, EncryptedKey encryptedKey)Evaluate whether any of the EncryptedKey's DataReferences refer to the EncryptedData context.Iterable<EncryptedKey>ChainingEncryptedKeyResolver. resolve(EncryptedData encryptedData)Resolve the EncryptedKey elements containing the data encryption key used to encrypt the specified EncryptedData element.Iterable<EncryptedKey>EncryptedKeyResolver. 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.Iterable<EncryptedKey>SimpleRetrievalMethodEncryptedKeyResolver. resolve(EncryptedData encryptedData)Resolve the EncryptedKey elements containing the data encryption key used to encrypt the specified EncryptedData element.protected voidDecrypter. validateAlgorithms(EncryptedData encryptedData)Validate the algorithms contained within anEncryptedData.Constructors in org.opensaml.xmlsec.encryption.support with parameters of type EncryptedData Constructor Description ChainingIterable(ChainingEncryptedKeyResolver resolver, EncryptedData encData)Constructor.ChainingIterator(ChainingEncryptedKeyResolver resolver, EncryptedData encData)Constructor.
-