public class XMLX509Digest extends Signature11ElementProxy implements XMLX509DataContent
dsig11:X509Digest element.baseURI, constructionElement, doc, log| Constructor and Description |
|---|
XMLX509Digest(org.w3c.dom.Document doc,
byte[] digestBytes,
java.lang.String algorithmURI)
Constructor XMLX509Digest
|
XMLX509Digest(org.w3c.dom.Document doc,
java.security.cert.X509Certificate x509certificate,
java.lang.String algorithmURI)
Constructor XMLX509Digest
|
XMLX509Digest(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor XMLX509Digest
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm()
Method getAlgorithm
|
org.w3c.dom.Attr |
getAlgorithmAttr()
Method getAlgorithmAttr
|
java.lang.String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
byte[] |
getDigestBytes()
Method getDigestBytes
|
static byte[] |
getDigestBytesFromCert(java.security.cert.X509Certificate cert,
java.lang.String algorithmURI)
Method getDigestBytesFromCert
|
getBaseNamespaceaddBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContextpublic XMLX509Digest(org.w3c.dom.Element element,
java.lang.String BaseURI)
throws XMLSecurityException
element - BaseURI - XMLSecurityExceptionpublic XMLX509Digest(org.w3c.dom.Document doc,
byte[] digestBytes,
java.lang.String algorithmURI)
doc - digestBytes - algorithmURI - public XMLX509Digest(org.w3c.dom.Document doc,
java.security.cert.X509Certificate x509certificate,
java.lang.String algorithmURI)
throws XMLSecurityException
doc - x509certificate - algorithmURI - XMLSecurityExceptionpublic org.w3c.dom.Attr getAlgorithmAttr()
public java.lang.String getAlgorithm()
public byte[] getDigestBytes()
throws XMLSecurityException
XMLSecurityExceptionpublic static byte[] getDigestBytesFromCert(java.security.cert.X509Certificate cert,
java.lang.String algorithmURI)
throws XMLSecurityException
cert - algorithmURI - XMLSecurityExceptionpublic java.lang.String getBaseLocalName()
ElementProxygetBaseLocalName in class ElementProxy