Package org.opensaml.xmlsec.impl
Class BasicEncryptionParametersResolverTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.impl.BasicEncryptionParametersResolverTest
public class BasicEncryptionParametersResolverTest
extends org.opensaml.core.testing.XMLObjectBaseTestCase
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Credentialprivate Stringprivate Credentialprivate Stringprivate Credentialprivate Stringprivate BasicEncryptionConfigurationprivate BasicEncryptionConfigurationprivate BasicEncryptionConfigurationprivate CriteriaSetprivate EncryptionConfigurationCriterionprivate Stringprivate Stringprivate Stringprivate NamedKeyInfoGeneratorManagerprivate NamedKeyInfoGeneratorManagerprivate Stringprivate Credentialprivate Stringprivate Credentialprivate StringFields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
resolver
-
criteriaSet
-
criterion
-
config1
-
config2
-
config3
-
rsaCred1
-
ecCred1
-
aes128Cred1
-
aes192Cred1
-
aes256Cred1
-
rsaCred1KeyName
-
ecCred1KeyName
-
aes128Cred1KeyName
-
aes192Cred1KeyName
-
aes256Cred1KeyName
-
defaultRSAKeyTransportAlgo
-
defaultAES128DataAlgo
-
defaultAES192DataAlgo
-
defaultAES256DataAlgo
-
defaultKeyTransportKeyInfoGeneratorManager
-
defaultDataEncryptionKeyInfoGeneratorManager
-
-
Constructor Details
-
BasicEncryptionParametersResolverTest
public BasicEncryptionParametersResolverTest()
-
-
Method Details
-
buildCredentials
@BeforeClass public void buildCredentials() throws NoSuchAlgorithmException, NoSuchProviderException, InvalidAlgorithmParameterException -
setUp
@BeforeMethod public void setUp() -
testBasicRSA
- Throws:
ResolverException
-
testRSAWithAlgorithmOverrides
- Throws:
ResolverException
-
testRSAWithBlacklist
- Throws:
ResolverException
-
testRSAWithWhitelist
- Throws:
ResolverException
-
testRSAWithGeneratedDataCredential
- Throws:
ResolverException
-
testRSAOAEPParameters
- Throws:
ResolverException
-
testECDHWithDirectDataEncryption
- Throws:
ResolverException
-
testECDHWithDirectDataEncryptionAndAlgorithmOverrides
- Throws:
ResolverException
-
testECDHWithKeyWrap
- Throws:
ResolverException
-
testECDHWithKeyWrapAndAlgorithmOverrides
- Throws:
ResolverException
-
testECDHWithKeyWrapAndGeneratedDataCredential
- Throws:
ResolverException
-
testECDHWithKDFOverride
- Throws:
ResolverException
-
testGetEffectiveKeyAgreementConfiguration
public void testGetEffectiveKeyAgreementConfiguration() -
testAES128KeyWrap
- Throws:
ResolverException
-
testDataCredOnly
- Throws:
ResolverException
-
testKeyTransportCredWithBlacklistAndFallthrough
- Throws:
ResolverException
-
testDataCredOnlyWithBlacklistAndFallthrough
- Throws:
ResolverException
-
testKeyTransportAlgorithmPredicate
- Throws:
ResolverException
-
testKeyInfoGenerationProfile
- Throws:
ResolverException
-
testResolve
- Throws:
ResolverException
-
testNoCredentials
- Throws:
ResolverException
-
testNoKeyTransportAlgorithms
- Throws:
ResolverException
-
testNoDataEncryptionAlgorithmForResolvedDataCredential
- Throws:
ResolverException
-
testNoDataEncryptionAlgorithmForEncrypterAutoGen
- Throws:
ResolverException
-
testResolveKeyTransportAlgorithmPredicate
public void testResolveKeyTransportAlgorithmPredicate() -
testNullCriteriaSet
- Throws:
ResolverException
-
testAbsentCriterion
- Throws:
ResolverException
-