public class BasicSignatureSigningParametersResolverTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.xmlsec.impl.BasicSignatureSigningConfiguration |
config1 |
private org.opensaml.xmlsec.impl.BasicSignatureSigningConfiguration |
config2 |
private org.opensaml.xmlsec.impl.BasicSignatureSigningConfiguration |
config3 |
private CriteriaSet |
criteriaSet |
private org.opensaml.xmlsec.criterion.SignatureSigningConfigurationCriterion |
criterion |
private String |
defaultC14N |
private String |
defaultDSAAlgo |
private String |
defaultECAlgo |
private String |
defaultHMACAlgo |
private Integer |
defaultHMACOutputLength |
private org.opensaml.xmlsec.keyinfo.NamedKeyInfoGeneratorManager |
defaultKeyInfoGeneratorManager |
private String |
defaultReferenceDigest |
private String |
defaultRSAAlgo |
private org.opensaml.security.credential.Credential |
dsaCred |
private org.opensaml.security.credential.Credential |
ecCred |
private org.opensaml.security.credential.Credential |
hmacCred |
private org.opensaml.xmlsec.impl.BasicSignatureSigningParametersResolver |
resolver |
private org.opensaml.security.credential.Credential |
rsaCred |
| Constructor and Description |
|---|
BasicSignatureSigningParametersResolverTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildCredentials() |
void |
setUp() |
void |
testAbsentCriterion() |
void |
testBasicDSA() |
void |
testBasicEC() |
void |
testBasicHMAC() |
void |
testBasicRSA() |
void |
testC14NOverride() |
void |
testCredOverrides() |
void |
testHMACWithOverrides() |
void |
testKeyInfoGenerationProfile() |
void |
testMultipleCreds() |
void |
testNoAlgorithms() |
void |
testNoC14NAlgorithm() |
void |
testNoCredentials() |
void |
testNoReferenceDigestMethods() |
void |
testNullCriteriaSet() |
void |
testResolve() |
void |
testRSAWithAlgorithmOverride() |
void |
testRSAWithBlacklist() |
void |
testRSAWithWhitelist() |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate org.opensaml.xmlsec.impl.BasicSignatureSigningParametersResolver resolver
private CriteriaSet criteriaSet
private org.opensaml.xmlsec.criterion.SignatureSigningConfigurationCriterion criterion
private org.opensaml.xmlsec.impl.BasicSignatureSigningConfiguration config1
private org.opensaml.xmlsec.impl.BasicSignatureSigningConfiguration config2
private org.opensaml.xmlsec.impl.BasicSignatureSigningConfiguration config3
private org.opensaml.security.credential.Credential rsaCred
private org.opensaml.security.credential.Credential dsaCred
private org.opensaml.security.credential.Credential ecCred
private org.opensaml.security.credential.Credential hmacCred
private String defaultReferenceDigest
private String defaultC14N
private String defaultRSAAlgo
private String defaultDSAAlgo
private String defaultECAlgo
private String defaultHMACAlgo
private Integer defaultHMACOutputLength
private org.opensaml.xmlsec.keyinfo.NamedKeyInfoGeneratorManager defaultKeyInfoGeneratorManager
public BasicSignatureSigningParametersResolverTest()
public void buildCredentials()
throws NoSuchAlgorithmException,
NoSuchProviderException
public void setUp()
public void testBasicRSA()
throws ResolverException
ResolverExceptionpublic void testRSAWithAlgorithmOverride()
throws ResolverException
ResolverExceptionpublic void testRSAWithBlacklist()
throws ResolverException
ResolverExceptionpublic void testRSAWithWhitelist()
throws ResolverException
ResolverExceptionpublic void testBasicDSA()
throws ResolverException
ResolverExceptionpublic void testBasicEC()
throws ResolverException
ResolverExceptionpublic void testBasicHMAC()
throws ResolverException
ResolverExceptionpublic void testHMACWithOverrides()
throws ResolverException
ResolverExceptionpublic void testC14NOverride()
throws ResolverException
ResolverExceptionpublic void testMultipleCreds()
throws ResolverException
ResolverExceptionpublic void testCredOverrides()
throws ResolverException
ResolverExceptionpublic void testKeyInfoGenerationProfile()
throws ResolverException
ResolverExceptionpublic void testResolve()
throws ResolverException
ResolverExceptionpublic void testNoCredentials()
throws ResolverException
ResolverExceptionpublic void testNoAlgorithms()
throws ResolverException
ResolverExceptionpublic void testNoReferenceDigestMethods()
throws ResolverException
ResolverExceptionpublic void testNoC14NAlgorithm()
throws ResolverException
ResolverExceptionpublic void testNullCriteriaSet()
throws ResolverException
ResolverExceptionpublic void testAbsentCriterion()
throws ResolverException
ResolverExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.