public class DEREncodedKeyValue extends Signature11ElementProxy implements KeyInfoContent
dsig11:DEREncodedKeyvalue element.baseURI, LOG| Constructor and Description |
|---|
DEREncodedKeyValue(Document doc,
byte[] encodedKey)
Constructor DEREncodedKeyValue
|
DEREncodedKeyValue(Document doc,
PublicKey publicKey)
Constructor DEREncodedKeyValue
|
DEREncodedKeyValue(Element element,
String baseURI)
Constructor DEREncodedKeyValue
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
protected byte[] |
getEncodedDER(PublicKey publicKey)
Method getEncodedDER
|
String |
getId()
Returns the
Id attribute |
PublicKey |
getPublicKey()
Method getPublicKey
|
void |
setId(String id)
Sets the
Id attribute |
getBaseNamespaceaddBase64Element, 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, setXPathNamespaceContextpublic DEREncodedKeyValue(Element element, String baseURI) throws XMLSecurityException
element - baseURI - XMLSecurityExceptionpublic DEREncodedKeyValue(Document doc, PublicKey publicKey) throws XMLSecurityException
doc - publicKey - XMLSecurityExceptionpublic DEREncodedKeyValue(Document doc, byte[] encodedKey)
doc - encodedKey - public void setId(String id)
Id attributeid - IDpublic String getId()
Id attributeId attributepublic String getBaseLocalName()
getBaseLocalName in class ElementProxypublic PublicKey getPublicKey() throws XMLSecurityException
XMLSecurityExceptionprotected byte[] getEncodedDER(PublicKey publicKey) throws XMLSecurityException
XMLSecurityExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.