Package org.opensaml.xmlsec.impl
Class BasicSignatureSigningParametersResolverTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.impl.BasicSignatureSigningParametersResolverTest
public class BasicSignatureSigningParametersResolverTest
extends org.opensaml.core.testing.XMLObjectBaseTestCase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CriteriaSetprivate Stringprivate Stringprivate Stringprivate Stringprivate Integerprivate NamedKeyInfoGeneratorManagerprivate Stringprivate Stringprivate Credentialprivate Credentialprivate Credentialprivate CredentialFields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
rsaCred
-
dsaCred
-
ecCred
-
hmacCred
-
defaultReferenceDigest
-
defaultC14N
-
defaultRSAAlgo
-
defaultDSAAlgo
-
defaultECAlgo
-
defaultHMACAlgo
-
defaultHMACOutputLength
-
defaultKeyInfoGeneratorManager
-
-
Constructor Details
-
BasicSignatureSigningParametersResolverTest
public BasicSignatureSigningParametersResolverTest()
-
-
Method Details
-
buildCredentials
@BeforeClass public void buildCredentials() throws NoSuchAlgorithmException, NoSuchProviderException -
setUp
@BeforeMethod public void setUp() -
testBasicRSA
- Throws:
ResolverException
-
testRSAWithAlgorithmOverride
- Throws:
ResolverException
-
testRSAWithBlacklist
- Throws:
ResolverException
-
testRSAWithWhitelist
- Throws:
ResolverException
-
testBasicDSA
- Throws:
ResolverException
-
testBasicEC
- Throws:
ResolverException
-
testBasicHMAC
- Throws:
ResolverException
-
testHMACWithOverrides
- Throws:
ResolverException
-
testC14NOverride
- Throws:
ResolverException
-
testReferenceC14NOverride
- Throws:
ResolverException
-
testMultipleCreds
- Throws:
ResolverException
-
testCredOverrides
- Throws:
ResolverException
-
testKeyInfoGenerationProfile
- Throws:
ResolverException
-
testResolve
- Throws:
ResolverException
-
testNoCredentials
- Throws:
ResolverException
-
testNoAlgorithms
- Throws:
ResolverException
-
testNoReferenceDigestMethods
- Throws:
ResolverException
-
testNoC14NAlgorithm
- Throws:
ResolverException
-
testNullCriteriaSet
- Throws:
ResolverException
-
testAbsentCriterion
- Throws:
ResolverException
-