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
FieldsModifier and TypeFieldDescriptionprivate static final String[]JCA algorithm key types supported by this implementation.Fields inherited from class 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 Signature11ElementProxy
getBaseNamespaceMethods inherited from class 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
-
Field Details
-
supportedKeyTypes
JCA algorithm key types supported by this implementation.
-
-
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
-
getId
-
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
-