public class XMLX509Digest extends Signature11ElementProxy implements XMLX509DataContent
dsig11:X509Digest element.baseURI, LOG| Constructor and Description |
|---|
XMLX509Digest(Document doc,
byte[] digestBytes,
String algorithmURI)
Constructor XMLX509Digest
|
XMLX509Digest(Document doc,
X509Certificate x509certificate,
String algorithmURI)
Constructor XMLX509Digest
|
XMLX509Digest(Element element,
String baseURI)
Constructor XMLX509Digest
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
Method getAlgorithm
|
Attr |
getAlgorithmAttr()
Method getAlgorithmAttr
|
String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
byte[] |
getDigestBytes()
Method getDigestBytes
|
static byte[] |
getDigestBytesFromCert(X509Certificate cert,
String algorithmURI)
Method getDigestBytesFromCert
|
getBaseNamespaceaddBase64Element, 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, setXPathNamespaceContextpublic XMLX509Digest(Element element, String baseURI) throws XMLSecurityException
element - baseURI - XMLSecurityExceptionpublic XMLX509Digest(Document doc, byte[] digestBytes, String algorithmURI)
doc - digestBytes - algorithmURI - public XMLX509Digest(Document doc, X509Certificate x509certificate, String algorithmURI) throws XMLSecurityException
doc - x509certificate - algorithmURI - XMLSecurityExceptionpublic Attr getAlgorithmAttr()
public String getAlgorithm()
public byte[] getDigestBytes()
throws XMLSecurityException
XMLSecurityExceptionpublic static byte[] getDigestBytesFromCert(X509Certificate cert, String algorithmURI) throws XMLSecurityException
cert - algorithmURI - XMLSecurityExceptionpublic String getBaseLocalName()
getBaseLocalName in class ElementProxyCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.