Class XMLSignatureElement
- java.lang.Object
-
- es.uji.crypto.xades.jxades.security.xml.XMLSignatureElement
-
public class XMLSignatureElement extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classXMLSignatureElement.KeyValueKeySelectorprivate static classXMLSignatureElement.SimpleKeySelectorResult
-
Field Summary
Fields Modifier and Type Field Description private javax.xml.crypto.KeySelectorkeySelectorprivate org.w3c.dom.ElementsignatureElementprivate javax.xml.crypto.dsig.XMLSignatureFactoryxmlSignatureFactory
-
Constructor Summary
Constructors Constructor Description XMLSignatureElement(org.w3c.dom.Element signatureElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.crypto.dsig.keyinfo.KeyInfogetKeyInfo()protected javax.xml.crypto.KeySelectorgetKeySelector()java.security.cert.X509CertificategetX509Certificate()javax.xml.crypto.dsig.keyinfo.X509DatagetX509Data()javax.xml.crypto.dsig.XMLSignaturegetXMLSignature()protected javax.xml.crypto.dsig.XMLSignatureFactorygetXMLSignatureFactory()SignatureStatusvalidate()
-
-
-
Method Detail
-
getXMLSignatureFactory
protected javax.xml.crypto.dsig.XMLSignatureFactory getXMLSignatureFactory()
-
getKeySelector
protected javax.xml.crypto.KeySelector getKeySelector()
-
getXMLSignature
public javax.xml.crypto.dsig.XMLSignature getXMLSignature() throws javax.xml.crypto.MarshalException- Throws:
javax.xml.crypto.MarshalException
-
getKeyInfo
public javax.xml.crypto.dsig.keyinfo.KeyInfo getKeyInfo() throws javax.xml.crypto.MarshalException- Throws:
javax.xml.crypto.MarshalException
-
getX509Data
public javax.xml.crypto.dsig.keyinfo.X509Data getX509Data() throws javax.xml.crypto.MarshalException- Throws:
javax.xml.crypto.MarshalException
-
getX509Certificate
public java.security.cert.X509Certificate getX509Certificate() throws javax.xml.crypto.MarshalException- Throws:
javax.xml.crypto.MarshalException
-
validate
public SignatureStatus validate()
-
-