public class ComplexEncryptionTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private String |
algoURI |
private DataEncryptionParameters |
encParams |
private org.opensaml.saml.saml2.encryption.Encrypter |
encrypter |
private String |
expectedKeyNameRSA |
private String |
expectedRecipientAES |
private String |
expectedRecipientRSA |
private org.opensaml.xmlsec.signature.KeyInfo |
kekKeyInfoRSA |
private KeyEncryptionParameters |
kekParamsAES |
private List<KeyEncryptionParameters> |
kekParamsList |
private KeyEncryptionParameters |
kekParamsRSA |
private String |
kekURIAES |
private String |
kekURIRSA |
private org.opensaml.xmlsec.signature.KeyInfo |
keyInfo |
| Constructor and Description |
|---|
ComplexEncryptionTest()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testMulticastKEKPeer()
Test encryption with multicast key encryption keys with key placement as peer.
|
void |
testReuse()
Test that reuse is allowed with same key encryption parameters.
|
void |
testSingleKEKInline()
Test encryption with a single key encryption key with key placement inline.
|
void |
testSingleKEKPeer()
Test encryption with a single key encryption key with key placement as peer.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate org.opensaml.saml.saml2.encryption.Encrypter encrypter
private DataEncryptionParameters encParams
private List<KeyEncryptionParameters> kekParamsList
private KeyEncryptionParameters kekParamsRSA
private KeyEncryptionParameters kekParamsAES
private org.opensaml.xmlsec.signature.KeyInfo keyInfo
private org.opensaml.xmlsec.signature.KeyInfo kekKeyInfoRSA
private String algoURI
private String kekURIRSA
private String kekURIAES
private String expectedKeyNameRSA
private String expectedRecipientRSA
private String expectedRecipientAES
public void testSingleKEKInline()
public void testSingleKEKPeer()
public void testMulticastKEKPeer()
public void testReuse()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.