public class DEREncodedKeyValue extends Signature11ElementProxy implements KeyInfoContent
dsig11:DEREncodedKeyvalue
element.Modifier and Type | Field and Description |
---|---|
static String[] |
supportedKeyTypes
JCA algorithm key types supported by this implementation.
|
baseURI, constructionElement, doc, 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, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext
public static final String[] supportedKeyTypes
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
- base64EncodedKey
- 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–2017 The Apache Software Foundation. All rights reserved.