public class SignatureSupportTest extends XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.xmlsec.keyinfo.KeyInfoGenerator |
keyInfoGenerator |
private org.opensaml.security.credential.Credential |
signingCredential |
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory| Constructor and Description |
|---|
SignatureSupportTest() |
| Modifier and Type | Method and Description |
|---|---|
private org.opensaml.xmlsec.signature.Signature |
buildTemplateSignature() |
private org.opensaml.xmlsec.SignatureSigningParameters |
buildTemplateSigningParameters() |
void |
initializeKeyPairAndGenerator() |
void |
testAddReferenceCanonicalizationTransformAfterEnveloped() |
void |
testAddReferenceCanonicalizationTransformAlone() |
void |
testBasic() |
void |
testReplaceReferenceCanonicalizationTransformAfterEnveloped() |
void |
testReplaceReferenceCanonicalizationTransformAlone() |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementinitOpenSAMLprivate org.opensaml.security.credential.Credential signingCredential
private org.opensaml.xmlsec.keyinfo.KeyInfoGenerator keyInfoGenerator
public void initializeKeyPairAndGenerator()
throws NoSuchAlgorithmException,
NoSuchProviderException
public void testBasic()
throws SecurityException
SecurityExceptionpublic void testAddReferenceCanonicalizationTransformAlone()
throws SecurityException
SecurityExceptionpublic void testAddReferenceCanonicalizationTransformAfterEnveloped()
throws SecurityException
SecurityExceptionpublic void testReplaceReferenceCanonicalizationTransformAlone()
throws SecurityException
SecurityExceptionpublic void testReplaceReferenceCanonicalizationTransformAfterEnveloped()
throws SecurityException
SecurityExceptionprivate org.opensaml.xmlsec.signature.Signature buildTemplateSignature()
private org.opensaml.xmlsec.SignatureSigningParameters buildTemplateSigningParameters()
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.