|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.Signature11ElementProxy
org.apache.xml.security.keys.content.x509.XMLX509Digest
public class XMLX509Digest
Provides content model support for the dsig11:X509Digest element.
| Field Summary |
|---|
| Fields inherited from class org.apache.xml.security.utils.ElementProxy |
|---|
baseURI, constructionElement, doc, log |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.xml.security.utils.Signature11ElementProxy |
|---|
getBaseNamespace |
| Methods inherited from class org.apache.xml.security.utils.ElementProxy |
|---|
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLX509Digest(Element element,
String BaseURI)
throws XMLSecurityException
element - BaseURI -
XMLSecurityException
public XMLX509Digest(Document doc,
byte[] digestBytes,
String algorithmURI)
doc - digestBytes - algorithmURI -
public XMLX509Digest(Document doc,
X509Certificate x509certificate,
String algorithmURI)
throws XMLSecurityException
doc - x509certificate - algorithmURI -
XMLSecurityException| Method Detail |
|---|
public Attr getAlgorithmAttr()
public String getAlgorithm()
public byte[] getDigestBytes()
throws XMLSecurityException
XMLSecurityException
public static byte[] getDigestBytesFromCert(X509Certificate cert,
String algorithmURI)
throws XMLSecurityException
cert - algorithmURI -
XMLSecurityExceptionpublic String getBaseLocalName()
ElementProxy
getBaseLocalName in class ElementProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||