|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.security.utils.ElementProxy | +--org.apache.xml.security.utils.SignatureElementProxy | +--org.apache.xml.security.keys.content.KeyValue
The KeyValue element contains a single public key that may be useful in validating the signature. Structured formats for defining DSA (REQUIRED) and RSA (RECOMMENDED) public keys are defined in Signature Algorithms (section 6.4). The KeyValue element may include externally defined public keys values represented as PCDATA or element types from an external namespace.
Field Summary |
Fields inherited from class org.apache.xml.security.utils.ElementProxy |
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY |
Constructor Summary | |
KeyValue(org.w3c.dom.Document doc,
DSAKeyValue dsaKeyValue)
Constructor KeyValue |
|
KeyValue(org.w3c.dom.Document doc,
org.w3c.dom.Element unknownKeyValue)
Constructor KeyValue |
|
KeyValue(org.w3c.dom.Document doc,
java.security.PublicKey pk)
Constructor KeyValue |
|
KeyValue(org.w3c.dom.Document doc,
RSAKeyValue rsaKeyValue)
Constructor KeyValue |
|
KeyValue(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor KeyValue |
Method Summary | |
java.lang.String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class. |
java.security.PublicKey |
getPublicKey()
Method getPublicKey |
Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy |
getBaseNamespace |
Methods inherited from class org.apache.xml.security.utils.ElementProxy |
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getChildElementLocalName, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyValue(org.w3c.dom.Document doc, DSAKeyValue dsaKeyValue)
doc
- dsaKeyValue
- public KeyValue(org.w3c.dom.Document doc, RSAKeyValue rsaKeyValue)
doc
- rsaKeyValue
- public KeyValue(org.w3c.dom.Document doc, org.w3c.dom.Element unknownKeyValue)
doc
- unknownKeyValue
- public KeyValue(org.w3c.dom.Document doc, java.security.PublicKey pk)
doc
- pk
- public KeyValue(org.w3c.dom.Element element, java.lang.String BaseURI) throws XMLSecurityException
element
- BaseURI
-
XMLSecurityException
Method Detail |
public java.security.PublicKey getPublicKey() throws XMLSecurityException
XMLSecurityException
public java.lang.String getBaseLocalName()
ElementProxy
getBaseLocalName
in class ElementProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |