Modifier and Type | Field and Description |
---|---|
private String |
canonicalizationAlgorithm
Canonicalization algorithm used in signature.
|
private List<ContentReference> |
contentReferences
References to content to be signed.
|
private Integer |
hmacOutputLength
Optional HMAC output length parameter to the signature algorithm.
|
private KeyInfo |
keyInfo
Public key information to embed in the signature.
|
private String |
signatureAlgorithm
Algorithm used to generate the signature.
|
private org.opensaml.security.credential.Credential |
signingCredential
Key used to sign the signature.
|
private org.apache.xml.security.signature.XMLSignature |
xmlSignature
Constructed Apache XML Security signature object.
|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
SignatureImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCanonicalizationAlgorithm() |
List<ContentReference> |
getContentReferences() |
Integer |
getHMACOutputLength() |
KeyInfo |
getKeyInfo() |
List<org.opensaml.core.xml.XMLObject> |
getOrderedChildren() |
String |
getSignatureAlgorithm() |
org.opensaml.security.credential.Credential |
getSigningCredential() |
org.apache.xml.security.signature.XMLSignature |
getXMLSignature()
Get the Apache XML Security signature instance held by this object.
|
void |
releaseDOM() |
void |
setCanonicalizationAlgorithm(String newAlgorithm) |
void |
setHMACOutputLength(Integer length) |
void |
setKeyInfo(KeyInfo newKeyInfo) |
void |
setSignatureAlgorithm(String newAlgorithm) |
void |
setSigningCredential(org.opensaml.security.credential.Credential newCredential) |
void |
setXMLSignature(org.apache.xml.security.signature.XMLSignature signature)
Set the Apache XML Security signature instance held by this object.
|
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
private String canonicalizationAlgorithm
private String signatureAlgorithm
private Integer hmacOutputLength
private org.opensaml.security.credential.Credential signingCredential
private KeyInfo keyInfo
private List<ContentReference> contentReferences
private org.apache.xml.security.signature.XMLSignature xmlSignature
protected SignatureImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespacepublic String getCanonicalizationAlgorithm()
getCanonicalizationAlgorithm
in interface Signature
public void setCanonicalizationAlgorithm(String newAlgorithm)
setCanonicalizationAlgorithm
in interface Signature
public String getSignatureAlgorithm()
getSignatureAlgorithm
in interface Signature
public void setSignatureAlgorithm(String newAlgorithm)
setSignatureAlgorithm
in interface Signature
public Integer getHMACOutputLength()
getHMACOutputLength
in interface Signature
public void setHMACOutputLength(Integer length)
setHMACOutputLength
in interface Signature
public org.opensaml.security.credential.Credential getSigningCredential()
getSigningCredential
in interface Signature
public void setSigningCredential(org.opensaml.security.credential.Credential newCredential)
setSigningCredential
in interface Signature
public KeyInfo getKeyInfo()
getKeyInfo
in interface Signature
public void setKeyInfo(KeyInfo newKeyInfo)
setKeyInfo
in interface Signature
public List<ContentReference> getContentReferences()
getContentReferences
in interface Signature
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
getOrderedChildren
in interface org.opensaml.core.xml.XMLObject
public void releaseDOM()
releaseDOM
in interface org.opensaml.core.xml.XMLObject
releaseDOM
in class org.opensaml.core.xml.AbstractXMLObject
public org.apache.xml.security.signature.XMLSignature getXMLSignature()
public void setXMLSignature(org.apache.xml.security.signature.XMLSignature signature)
signature
- an Apache XML Security signature objectCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.