Package org.opensaml.xmlsec.signature
Interface Signature
- All Superinterfaces:
XMLObject
- All Known Implementing Classes:
SignatureImpl
XMLObject representing an enveloped or detached XML Digital Signature, version 20020212, Signature element.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the canonicalization algorithm used to create the signature content.Gets the list of signature content references.Gets the HMAC output length value, optionally used when signing with an HMAC signature algorithm.Gets the key info added to this signature.Gets the algorithm used to compute the signature.Gets the signature signing credential.void
setCanonicalizationAlgorithm
(String newAlgorithm) Sets the canonicalization algorithm used to create the signature content.void
setHMACOutputLength
(Integer length) Sets the HMAC output length value, optionally used when signing with an HMAC signature algorithm.void
setKeyInfo
(KeyInfo newKeyInfo) Sets the key info added to this signature.void
setSignatureAlgorithm
(String newAlgorithm) Sets the algorithm used to compute the signature.void
setSigningCredential
(Credential newCredential) Sets the signature signing credential.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type.
-
-
Method Details
-
getCanonicalizationAlgorithm
Gets the canonicalization algorithm used to create the signature content.- Returns:
- the canonicalization algorithm used to create the signature content
-
setCanonicalizationAlgorithm
Sets the canonicalization algorithm used to create the signature content.- Parameters:
newAlgorithm
- the canonicalization algorithm used to create the signature content
-
getSignatureAlgorithm
Gets the algorithm used to compute the signature.- Returns:
- the algorithm used to compute the signature
-
setSignatureAlgorithm
Sets the algorithm used to compute the signature.- Parameters:
newAlgorithm
- the algorithm used to compute the signature
-
getHMACOutputLength
Gets the HMAC output length value, optionally used when signing with an HMAC signature algorithm.- Returns:
- the HMACOutputLength value
-
setHMACOutputLength
Sets the HMAC output length value, optionally used when signing with an HMAC signature algorithm.- Parameters:
length
- the new HMACOutputLength value
-
getSigningCredential
Gets the signature signing credential.- Returns:
- the signature signing credential
-
setSigningCredential
Sets the signature signing credential.- Parameters:
newCredential
- the signature signing credential
-
getKeyInfo
Gets the key info added to this signature.- Returns:
- the key info added to this signature
-
setKeyInfo
Sets the key info added to this signature.- Parameters:
newKeyInfo
- the key info added to this signature
-
getContentReferences
Gets the list of signature content references.- Returns:
- the list of signature content references
-