public class DEREncodedKeyValue extends Signature11ElementProxy implements KeyInfoContent
dsig11:DEREncodedKeyvalue element.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
supportedKeyTypes
JCA algorithm key types supported by this implementation.
|
baseURI, constructionElement, doc, log| Constructor and Description |
|---|
DEREncodedKeyValue(org.w3c.dom.Document doc,
byte[] encodedKey)
Constructor DEREncodedKeyValue
|
DEREncodedKeyValue(org.w3c.dom.Document doc,
java.security.PublicKey publicKey)
Constructor DEREncodedKeyValue
|
DEREncodedKeyValue(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor DEREncodedKeyValue
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
protected byte[] |
getEncodedDER(java.security.PublicKey publicKey)
Method getEncodedDER
|
java.lang.String |
getId()
Returns the
Id attribute |
java.security.PublicKey |
getPublicKey()
Method getPublicKey
|
void |
setId(java.lang.String id)
Sets the
Id attribute |
getBaseNamespaceaddBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContextpublic static final java.lang.String[] supportedKeyTypes
public DEREncodedKeyValue(org.w3c.dom.Element element,
java.lang.String BaseURI)
throws XMLSecurityException
element - BaseURI - XMLSecurityExceptionpublic DEREncodedKeyValue(org.w3c.dom.Document doc,
java.security.PublicKey publicKey)
throws XMLSecurityException
doc - publicKey - XMLSecurityExceptionpublic DEREncodedKeyValue(org.w3c.dom.Document doc,
byte[] encodedKey)
doc - base64EncodedKey - public void setId(java.lang.String id)
Id attributeId - IDpublic java.lang.String getId()
Id attributeId attributepublic java.lang.String getBaseLocalName()
ElementProxygetBaseLocalName in class ElementProxypublic java.security.PublicKey getPublicKey()
throws XMLSecurityException
XMLSecurityExceptionprotected byte[] getEncodedDER(java.security.PublicKey publicKey)
throws XMLSecurityException
XMLSecurityException