public interface Signature extends XMLObject
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.
|
static QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
static String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static QName |
TYPE_NAME
QName of the XSI type.
|
Modifier and Type | Method and Description |
---|---|
String |
getCanonicalizationAlgorithm()
Gets the canonicalization algorithm used to create the signature content.
|
List<ContentReference> |
getContentReferences()
Gets the list of signature content references.
|
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.
|
String |
getSignatureAlgorithm()
Gets the algorithm used to compute the signature.
|
Credential |
getSigningCredential()
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.
|
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
static final String DEFAULT_ELEMENT_LOCAL_NAME
static final QName DEFAULT_ELEMENT_NAME
static final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
@Nullable String getCanonicalizationAlgorithm()
void setCanonicalizationAlgorithm(@Nullable String newAlgorithm)
newAlgorithm
- the canonicalization algorithm used to create the signature content@Nullable String getSignatureAlgorithm()
void setSignatureAlgorithm(@Nullable String newAlgorithm)
newAlgorithm
- the algorithm used to compute the signature@Nullable Integer getHMACOutputLength()
void setHMACOutputLength(@Nullable 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 List<ContentReference> getContentReferences()
Copyright © 2016 JBoss by Red Hat. All rights reserved.