Package org.opensaml.xmlsec.signature
Interface SignableXMLObject
-
- All Superinterfaces:
org.opensaml.core.xml.XMLObject
- All Known Implementing Classes:
AbstractSignableXMLObject
public interface SignableXMLObject extends org.opensaml.core.xml.XMLObjectAn XMLObject whose DOM representation can be digitally signed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SignaturegetSignature()Gets the Signature XMLObject.booleanisSigned()Checks to see if the element has been signed.voidsetSignature(Signature newSignature)Sets the Signature XMLObject.-
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
-
-
-
-
Method Detail
-
isSigned
boolean isSigned()
Checks to see if the element has been signed.- Returns:
- true iff this element is signed
-
getSignature
@Nullable Signature getSignature()
Gets the Signature XMLObject.- Returns:
- the Signature XMLObject
-
setSignature
void setSignature(@Nullable Signature newSignature)Sets the Signature XMLObject.- Parameters:
newSignature- the Signature XMLObject
-
-