KeyInfoContent
public class DEREncodedKeyValue extends Signature11ElementProxy implements KeyInfoContent
dsig11:DEREncodedKeyvalue
element.baseURI, log
Constructor | 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 | 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 |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseNamespace
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()
ElementProxy
getBaseLocalName
in class ElementProxy
public PublicKey getPublicKey() throws XMLSecurityException
XMLSecurityException
protected byte[] getEncodedDER(PublicKey publicKey) throws XMLSecurityException
XMLSecurityException
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.