Package | Description |
---|---|
org.opensaml.saml2.encryption |
Classes for encrypting and decrypting SAML.
|
org.opensaml.xml.encryption |
XMLObject interfaces and helper classes for representing encrypted content and encrypting/decrypting content.
|
org.opensaml.xml.security |
Interfaces and classes used in representing cryptographic credentials, evaluating the trustworthiness of security of tokens, etc.
|
Constructor and Description |
---|
Encrypter(EncryptionParameters dataEncParams)
Constructor.
|
Encrypter(EncryptionParameters dataEncParams,
KeyEncryptionParameters keyEncParam)
Constructor.
|
Encrypter(EncryptionParameters dataEncParams,
List<KeyEncryptionParameters> keyEncParams)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyEncryptionParameters
Parameters for encrypting keys.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Encrypter.checkParams(EncryptionParameters encParams)
Check data encryption parameters for consistency and required values.
|
protected void |
Encrypter.checkParams(EncryptionParameters encParams,
List<KeyEncryptionParameters> kekParamsList)
Check the encryption parameters and key encryption parameters for valid combinations of options.
|
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.
|
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 |
---|---|
static EncryptionParameters |
SecurityHelper.buildDataEncryptionParams(Credential encryptionCredential,
SecurityConfiguration config,
String keyInfoGenName)
Build an instance of
EncryptionParameters suitable for passing to an
Encrypter . |
Copyright © 2018 JBoss by Red Hat. All rights reserved.