Class DEREncodedKeyValue
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.Signature11ElementProxy
org.apache.xml.security.keys.content.DEREncodedKeyValue
- All Implemented Interfaces:
KeyInfoContent
Provides content model support for the
dsig11:DEREncodedKeyvalue element.-
Field Summary
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG -
Constructor Summary
ConstructorsConstructorDescriptionDEREncodedKeyValue(Document doc, byte[] encodedKey) Constructor DEREncodedKeyValueDEREncodedKeyValue(Document doc, PublicKey publicKey) Constructor DEREncodedKeyValueDEREncodedKeyValue(Element element, String baseURI) Constructor DEREncodedKeyValue -
Method Summary
Modifier and TypeMethodDescriptionReturns the localname of the Elements of the sub-class.protected byte[]getEncodedDER(PublicKey publicKey) Method getEncodedDERgetId()Returns theIdattributeMethod getPublicKeyvoidSets theIdattributeMethods inherited from class org.apache.xml.security.utils.Signature11ElementProxy
getBaseNamespaceMethods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
Constructor Details
-
DEREncodedKeyValue
Constructor DEREncodedKeyValue- Parameters:
element-baseURI-- Throws:
XMLSecurityException
-
DEREncodedKeyValue
Constructor DEREncodedKeyValue- Parameters:
doc-publicKey-- Throws:
XMLSecurityException
-
DEREncodedKeyValue
Constructor DEREncodedKeyValue- Parameters:
doc-encodedKey-
-
-
Method Details
-
setId
Sets theIdattribute- Parameters:
id- ID
-
getId
Returns theIdattribute- Returns:
- the
Idattribute
-
getBaseLocalName
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-
getPublicKey
Method getPublicKey- Returns:
- the public key
- Throws:
XMLSecurityException
-
getEncodedDER
Method getEncodedDER- Returns:
- the public key
- Throws:
XMLSecurityException
-