| |
|
| com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl com.sun.xml.wss.core.KeyInfoHeaderBlock
Constructor Summary | |
public | KeyInfoHeaderBlock(Document ownerDoc) | public | KeyInfoHeaderBlock(KeyInfo keyinfo) | public | KeyInfoHeaderBlock(SOAPElement element) parse and create the KeyInfo element
Parameters: element - the KeyInfo elementNOTE : this constructor assumes a fully initialized XML KeyInfoNo additions are allowed on the keyinfo, only we can get existingvalues. |
SignatureSpecNS | final public static String SignatureSpecNS(Code) | | |
SignatureSpecNSprefix | final public static String SignatureSpecNSprefix(Code) | | |
baseURI | String baseURI(Code) | | baseURI URI to be used as context for all relative URIs.
Accepted by all Apache XMLSIG elements
|
delegateKeyInfo | KeyInfo delegateKeyInfo(Code) | | |
KeyInfoHeaderBlock | public KeyInfoHeaderBlock(Document ownerDoc) throws XWSSecurityException(Code) | | constructor that creates an empty KeyInfo
Parameters: ownerDoc - the OwnerDocument of the KeyInfo |
KeyInfoHeaderBlock | public KeyInfoHeaderBlock(KeyInfo keyinfo) throws XWSSecurityException(Code) | | constructor that takes Apache KeyInfo
Parameters: keyinfo - the KeyInfo from XML DSIG |
KeyInfoHeaderBlock | public KeyInfoHeaderBlock(SOAPElement element) throws XWSSecurityException(Code) | | parse and create the KeyInfo element
Parameters: element - the KeyInfo elementNOTE : this constructor assumes a fully initialized XML KeyInfoNo additions are allowed on the keyinfo, only we can get existingvalues. For example addkeyName() will have no impact on the KeyInfowill not append a KeyName child to the KeyInfo. |
addBinarySecret | public void addBinarySecret(SOAPElement binarySecret)(Code) | | Method addBinarySecret
Parameters: secret - byte[] representing secret |
addKeyName | public void addKeyName(String keynameString)(Code) | | Method addKeyName.
Parameters: keynameString - |
addKeyValue | public void addKeyValue(PublicKey pk)(Code) | | Method addKeyValue
Parameters: pk - |
addMgmtData | public void addMgmtData(String mgmtdata)(Code) | | Method addMgmtData
Parameters: mgmtdata - |
addRetrievalMethod | public void addRetrievalMethod(String URI, Transforms transforms, String type)(Code) | | Method addRetrievalMethod
Parameters: URI - Parameters: transforms - Parameters: type - |
addUnknownElement | public void addUnknownElement(SOAPElement element)(Code) | | Method addUnknownElement
Parameters: element - |
addUnknownKeyValue | public void addUnknownKeyValue(SOAPElement unknownKeyValueElement)(Code) | | Method addKeyValue
Parameters: unknownKeyValueElement - |
binarySecretCount | public int binarySecretCount()(Code) | | Method binarySecretCount
the count of binarySecret tokens |
containsBinarySecret | public boolean containsBinarySecret()(Code) | | Method containsBinarySecret
true if this KeyInfo contains BinarySecret |
containsEncryptedKeyToken | public boolean containsEncryptedKeyToken()(Code) | | Method containsEncryptedKeyToken
true if this KeyInfo contains wsse:SecurityTokenReference's |
containsKeyName | public boolean containsKeyName()(Code) | | Method containsKeyName
|
containsKeyValue | public boolean containsKeyValue()(Code) | | Method containsKeyValue
|
containsMgmtData | public boolean containsMgmtData()(Code) | | Method containsMgmtData
|
containsPGPData | public boolean containsPGPData()(Code) | | Method containsPGPData
|
containsRetrievalMethod | public boolean containsRetrievalMethod()(Code) | | Method containsRetrievalMethod
|
containsSPKIData | public boolean containsSPKIData()(Code) | | Method containsSPKIData
|
containsSecurityTokenReference | public boolean containsSecurityTokenReference()(Code) | | Method containsSecurityTokenReference
true if this KeyInfo contains wsse:SecurityTokenReference's |
containsUnknownElement | public boolean containsUnknownElement()(Code) | | Method containsUnknownElement
|
containsX509Data | public boolean containsX509Data()(Code) | | Method containsX509Data
|
encryptedKeyTokenCount | public int encryptedKeyTokenCount()(Code) | | Method encryptedKeyTokenCount
the count of encrypted key token references |
getKeyInfo | final public KeyInfo getKeyInfo()(Code) | | Method getKeyInfo
the XML DSIG KeyInfo which is wrapped by this class |
keyNameCount | public int keyNameCount()(Code) | | Method keyNameCount
|
keyValueCount | public int keyValueCount()(Code) | | Method keyValueCount
|
mgmtDataCount | public int mgmtDataCount()(Code) | | Method mgmtDataCount
|
pgpDataCount | public int pgpDataCount()(Code) | | Method pgpDataCount
|
retrievalMethodCount | public int retrievalMethodCount()(Code) | | Method retrievalMethodCount
|
saveChanges | public void saveChanges()(Code) | | This method should be called when changes are made inside an object
through its reference obtained from any of the get methods of this
class. As an example, if getKeyInfo() call is made and then changes are made
inside the keyInfo, this method should be called to reflect changes
when getAsSoapElement() is called finally.
|
securityTokenReferenceCount | public int securityTokenReferenceCount()(Code) | | Method securityTokenReferenceCount
the count of security token references |
setBaseURI | public void setBaseURI(String uri)(Code) | | Method setBaseURI : BaseURI accepted by Apache KeyInfo Ctor
Parameters: uri - Base URI to be used as context for all relative URIs. |
setDocument | public void setDocument(Document doc)(Code) | | setDocument
Parameters: doc - The owner Document of this KeyInfo |
spkiDataCount | public int spkiDataCount()(Code) | | Method spkiDataCount
|
unknownElementCount | public int unknownElementCount()(Code) | | Method unknownElementCount
|
x509DataCount | public int x509DataCount()(Code) | | Method x509DataCount
|
Methods inherited from com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl | public SOAPElement addAttribute(Name arg0, String arg1) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(String arg0) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(String arg0, String arg1) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(String arg0, String arg1, String arg2) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(Name arg0) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(SOAPElement arg0) throws SOAPException(Code)(Java Doc) public SOAPElement addNamespaceDeclaration(String arg0, String arg1) throws SOAPException(Code)(Java Doc) public SOAPElement addTextNode(String arg0) throws SOAPException(Code)(Java Doc) public Node appendChild(Node arg0) throws DOMException(Code)(Java Doc) public Node cloneNode(boolean arg0)(Code)(Java Doc) public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException(Code)(Java Doc) public void detachNode()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public static SecurityHeaderBlock fromSoapElement(SOAPElement element, Class implClass) throws XWSSecurityException(Code)(Java Doc) public Iterator getAllAttributes()(Code)(Java Doc) public Iterator getAllAttributesAsQNames()(Code)(Java Doc) public SOAPElement getAsSoapElement() throws XWSSecurityException(Code)(Java Doc) public String getAttribute(String arg0)(Code)(Java Doc) public String getAttributeNS(String arg0, String arg1)(Code)(Java Doc) public Attr getAttributeNode(String arg0)(Code)(Java Doc) public Attr getAttributeNodeNS(String arg0, String arg1)(Code)(Java Doc) public String getAttributeValue(Name arg0)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) public Iterator getChildElements()(Code)(Java Doc) public Iterator getChildElements(Name arg0)(Code)(Java Doc) public NodeList getChildNodes()(Code)(Java Doc) public Name getElementName()(Code)(Java Doc) public NodeList getElementsByTagName(String arg0)(Code)(Java Doc) public NodeList getElementsByTagNameNS(String arg0, String arg1)(Code)(Java Doc) public String getEncodingStyle()(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) public Node getFirstChild()(Code)(Java Doc) public String getId()(Code)(Java Doc) public Node getLastChild()(Code)(Java Doc) public String getLocalName()(Code)(Java Doc) public Iterator getNamespacePrefixes()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public String getNamespaceURI(String arg0)(Code)(Java Doc) public Node getNextSibling()(Code)(Java Doc) public String getNodeName()(Code)(Java Doc) public short getNodeType()(Code)(Java Doc) public String getNodeValue() throws DOMException(Code)(Java Doc) public Document getOwnerDocument()(Code)(Java Doc) public SOAPElement getParentElement()(Code)(Java Doc) public Node getParentNode()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) public Node getPreviousSibling()(Code)(Java Doc) public TypeInfo getSchemaTypeInfo()(Code)(Java Doc) protected static SOAPFactory getSoapFactory()(Code)(Java Doc) public String getTagName()(Code)(Java Doc) public String getTextContent() throws DOMException(Code)(Java Doc) public Object getUserData(String key)(Code)(Java Doc) public String getValue()(Code)(Java Doc) public Iterator getVisibleNamespacePrefixes()(Code)(Java Doc) public boolean hasAttribute(String arg0)(Code)(Java Doc) public boolean hasAttributeNS(String arg0, String arg1)(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean hasChildNodes()(Code)(Java Doc) public Node insertBefore(Node arg0, Node arg1) throws DOMException(Code)(Java Doc) public void isBSP(boolean flag)(Code)(Java Doc) public boolean isBSP()(Code)(Java Doc) public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc) public boolean isEqualNode(org.w3c.dom.Node arg)(Code)(Java Doc) public boolean isSameNode(org.w3c.dom.Node other)(Code)(Java Doc) public boolean isSupported(String arg0, String arg1)(Code)(Java Doc) public String lookupNamespaceURI(String prefix)(Code)(Java Doc) public String lookupPrefix(String namespaceURI)(Code)(Java Doc) public void normalize()(Code)(Java Doc) public void recycleNode()(Code)(Java Doc) public void removeAttribute(String arg0) throws DOMException(Code)(Java Doc) public boolean removeAttribute(Name arg0)(Code)(Java Doc) public void removeAttributeNS(String arg0, String arg1) throws DOMException(Code)(Java Doc) public Attr removeAttributeNode(Attr arg0) throws DOMException(Code)(Java Doc) public Node removeChild(Node arg0) throws DOMException(Code)(Java Doc) public void removeContents()(Code)(Java Doc) public boolean removeNamespaceDeclaration(String arg0)(Code)(Java Doc) public Node replaceChild(Node arg0, Node arg1) throws DOMException(Code)(Java Doc) public void setAttribute(String arg0, String arg1) throws DOMException(Code)(Java Doc) public void setAttributeNS(String arg0, String arg1, String arg2) throws DOMException(Code)(Java Doc) public Attr setAttributeNode(Attr arg0) throws DOMException(Code)(Java Doc) public Attr setAttributeNodeNS(Attr arg0) throws DOMException(Code)(Java Doc) public void setEncodingStyle(String arg0) throws SOAPException(Code)(Java Doc) public void setIdAttribute(String name, boolean isId) throws DOMException(Code)(Java Doc) public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException(Code)(Java Doc) public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException(Code)(Java Doc) public void setNodeValue(String arg0) throws DOMException(Code)(Java Doc) public void setParentElement(SOAPElement arg0) throws SOAPException(Code)(Java Doc) public void setPrefix(String arg0) throws DOMException(Code)(Java Doc) protected void setSOAPElement(SOAPElement delegateElement)(Code)(Java Doc) public void setTextContent(String textContent) throws DOMException(Code)(Java Doc) public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc) public void setValue(String arg0)(Code)(Java Doc) protected void setWsuIdAttr(Element element, String wsuId)(Code)(Java Doc)
|
|
|
|