public class PrototypeKeyBinding extends AbstractKeyBinding
PrototypeKeyBinding
element for use with requests and responses.Constructor and Description |
---|
PrototypeKeyBinding(org.w3c.dom.Document owner)
Creates a new
PrototypeKeyBinding instance. |
PrototypeKeyBinding(org.w3c.dom.Document owner, java.lang.String systemId)
Creates a new
PrototypeKeyBinding instance. |
PrototypeKeyBinding(org.w3c.dom.Element element)
Creates a new
PrototypeKeyBinding instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRevocationCodeIdentifier()
Returns the list of the
RevocationCodeIdentifier for this KeyBinding or null if none is present. |
java.util.Date |
getValidityNotBefore()
Returns the
NotBefore attribute value of the ValidityInterval element for this KeyBinding . |
java.util.Date |
getValidityNotOnOrAfter()
Returns the
NotOnOrAfter attribute value of the ValidityInterval element for this KeyBinding . |
void |
setRevocationCodeIdentifier(byte[] data)
Adds the
RevocationCodeIdentifier element for this KeyBinding . |
void |
setValidityInterval(java.util.Date notBefore, java.util.Date notOnOrAfter)
Sets the validity interval for this key binding assertion.
|
addKeyUsage, addUseKeyWith, getID, getKeyInfo, getKeyUsages, getUseKeyWithApplications, getUseKeyWithIdentifiers, setID, setKeyInfo
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public PrototypeKeyBinding(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
PrototypeKeyBinding
instance from the given Element node.element
- An Element node in the XML document that conforms to the XKMS PrototypeKeyBinding schema.org.w3c.dom.DOMException
public PrototypeKeyBinding(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
PrototypeKeyBinding
instance.owner
- The owner document of the new PrototypeKeyBinding
.org.w3c.dom.DOMException
public PrototypeKeyBinding(org.w3c.dom.Document owner, java.lang.String systemId) throws org.w3c.dom.DOMException
PrototypeKeyBinding
instance.owner
- The owner document of the new PrototypeKeyBinding
.systemId
- The URI string system ID for the Message
..org.w3c.dom.DOMException
public void setValidityInterval(java.util.Date notBefore, java.util.Date notOnOrAfter) throws org.w3c.dom.DOMException
notBefore
- Time instant at which the validity interval begins.notOnOrAfter
- Time instant at which the validity interval has ended.org.w3c.dom.DOMException
public java.util.Date getValidityNotBefore()
NotBefore
attribute value of the ValidityInterval
element for this KeyBinding
.NotBefore
date, or null
if none is present.public java.util.Date getValidityNotOnOrAfter()
NotOnOrAfter
attribute value of the ValidityInterval
element for this KeyBinding
.NotOnOrAfter
date, or null
if none is present.public void setRevocationCodeIdentifier(byte[] data) throws org.w3c.dom.DOMException
RevocationCodeIdentifier
element for this KeyBinding
.data
- The revovation code identifier data.org.w3c.dom.DOMException
public byte[] getRevocationCodeIdentifier()
RevocationCodeIdentifier
for this KeyBinding
or null
if none is present.RevocationCodeIdentifier
bytes after Base-64 decoding.