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 |
getBaseNamespace
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
public DEREncodedKeyValue(Element element, String baseURI) throws XMLSecurityException
element
- baseURI
- XMLSecurityException
public DEREncodedKeyValue(Document doc, PublicKey publicKey) throws XMLSecurityException
doc
- publicKey
- XMLSecurityException
public 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 ElementProxy
public PublicKey getPublicKey() throws XMLSecurityException
XMLSecurityException
protected byte[] getEncodedDER(PublicKey publicKey) throws XMLSecurityException
XMLSecurityException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.