public interface Signature extends XMLObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.
|
static javax.xml.namespace.QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
static java.lang.String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static javax.xml.namespace.QName |
TYPE_NAME
QName of the XSI type.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCanonicalizationAlgorithm()
Gets the canonicalization algorithm used to create the signature content.
|
java.util.List<ContentReference> |
getContentReferences()
Gets the list of signature content references.
|
java.lang.Integer |
getHMACOutputLength()
Gets the HMAC output length value, optionally used when signing
with an HMAC signature algorithm.
|
KeyInfo |
getKeyInfo()
Gets the key info added to this signature.
|
java.lang.String |
getSignatureAlgorithm()
Gets the algorithm used to compute the signature.
|
Credential |
getSigningCredential()
Gets the signature signing credential.
|
void |
setCanonicalizationAlgorithm(java.lang.String newAlgorithm)
Sets the canonicalization algorithm used to create the signature content.
|
void |
setHMACOutputLength(java.lang.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(java.lang.String newAlgorithm)
Sets the algorithm used to compute the signature.
|
void |
setSigningCredential(Credential newCredential)
Sets the signature signing credential.
|
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, setSchemaLocationstatic final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
static final java.lang.String TYPE_LOCAL_NAME
static final javax.xml.namespace.QName TYPE_NAME
@Nullable java.lang.String getCanonicalizationAlgorithm()
void setCanonicalizationAlgorithm(@Nullable
java.lang.String newAlgorithm)
newAlgorithm - the canonicalization algorithm used to create the signature content@Nullable java.lang.String getSignatureAlgorithm()
void setSignatureAlgorithm(@Nullable
java.lang.String newAlgorithm)
newAlgorithm - the algorithm used to compute the signature@Nullable java.lang.Integer getHMACOutputLength()
void setHMACOutputLength(@Nullable
java.lang.Integer length)
length - the new HMACOutputLength value@Nullable Credential getSigningCredential()
void setSigningCredential(@Nullable
Credential newCredential)
newCredential - the signature signing credential@Nullable KeyInfo getKeyInfo()
void setKeyInfo(@Nullable
KeyInfo newKeyInfo)
newKeyInfo - the key info added to this signature@Nonnull java.util.List<ContentReference> getContentReferences()