Class ECDHTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.encryption.support.tests.ECDHTest
public class ECDHTest
extends org.opensaml.core.testing.XMLObjectBaseTestCase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BasicDecryptionConfigurationprivate CriteriaSetprivate DecryptionParametersResolverprivate BasicEncryptionConfigurationprivate CriteriaSetprivate EncryptionParametersResolverprivate Encrypterprivate CollectionCredentialResolverprivate LocalKeyInfoCredentialResolverprivate Credentialprivate Credentialprivate StringFields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidprivate voidtestRoundtrip(String expectedDataAlgo, String expectedKEKAlgo) private voidtestRoundtrip(String expectedDataAlgo, String expectedKEKAlgo, String expectedKDFAlgo) Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementMethods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
Field Details
-
targetFile
-
recipientCredPrivate
-
recipientCredPublic
-
localCredentialResolver
-
localKeyInfoResolver
-
encrypter
-
encParamsResolver
-
encCriteria
-
encConfig
-
decryptParamsResolver
-
decryptCriteria
-
decryptConfig
-
-
Constructor Details
-
ECDHTest
public ECDHTest()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
beforeMethod
- Throws:
Exception
-
roundtripDirectDataEncryption
- Throws:
Exception
-
roundtripDirectDataEncryptionWithAlgorithmOverrides
- Throws:
Exception
-
roundtripWithKeyWrap
- Throws:
Exception
-
roundtripWithKeyWrapAndAlgorithmOverrides
- Throws:
Exception
-
roundtripWithPBKDF2
- Throws:
Exception
-
testRoundtrip
- Throws:
Exception
-
testRoundtrip
private void testRoundtrip(String expectedDataAlgo, String expectedKEKAlgo, String expectedKDFAlgo) throws Exception - Throws:
Exception
-