Package | Description |
---|---|
org.opensaml.saml.saml2.encryption |
Classes for encrypting and decrypting SAML.
|
org.opensaml.xmlsec.encryption.support |
Functional support for XML Encryption.
|
Constructor and Description |
---|
Encrypter(DataEncryptionParameters dataEncParams,
KeyEncryptionParameters keyEncParam)
Constructor.
|
Constructor and Description |
---|
Encrypter(DataEncryptionParameters dataEncParams,
List<KeyEncryptionParameters> keyEncParams)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Encrypter.checkParams(KeyEncryptionParameters kekParams,
boolean allowEmpty)
Check key encryption parameters for consistency and required values.
|
EncryptedData |
Encrypter.encryptElement(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.encryptElementContent(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..
|
EncryptedKey |
Encrypter.encryptKey(Key key,
KeyEncryptionParameters kekParams,
Document containingDocument)
Encrypts a key.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Encrypter.checkParams(DataEncryptionParameters encParams,
List<KeyEncryptionParameters> kekParamsList)
Check the encryption parameters and key encryption parameters for valid combinations of options.
|
protected void |
Encrypter.checkParams(List<KeyEncryptionParameters> kekParamsList,
boolean allowEmpty)
Check a list of key encryption parameters for consistency and required values.
|
EncryptedData |
Encrypter.encryptElement(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.
|
EncryptedData |
Encrypter.encryptElementContent(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..
|
List<EncryptedKey> |
Encrypter.encryptKey(Key key,
List<KeyEncryptionParameters> kekParamsList,
Document containingDocument)
Encrypts a key once for each key encryption parameters set that is supplied.
|
Copyright © 2019. All rights reserved.