public interface XadesSignature extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getCity()
This method returns city name(string object), it can be empty.
|
String |
getCountryName()
This method returns country name(string object), it can be empty.
|
eu.europa.esig.dss.xades.validation.XAdESSignature |
getDssSignature()
This method returns XAdES signature(XAdESSignature object).
|
String |
getId()
This method returns signature id(string object).
|
X509Cert |
getOCSPCertificate()
Returns the signature OCSP responder certificate.
|
byte[] |
getOCSPNonce()
This method returns the signature OCSP response nonce
or
null if OCSP response is not present or OCSP nonce is not found inside the OCSP response. |
Date |
getOCSPResponseCreationTime()
Deprecated.
use
Signature.getOCSPResponseCreationTime() instead. Will be removed in the future. |
List<org.bouncycastle.cert.ocsp.BasicOCSPResp> |
getOcspResponses()
Returns the signature OCSP responses list.
|
String |
getPostalCode()
This method returns postal code(string object), it can be empty.
|
SignatureProfile |
getProfile()
This method returns signature profile(SignatureProfile object).
|
List<org.apache.xml.security.signature.Reference> |
getReferences()
This method returns references list(reference object).
|
String |
getSignatureMethod()
This method returns signature method's name(string object), it can be empty.
|
byte[] |
getSignatureValue()
This method returns signature value(byte object).
|
List<String> |
getSignerRoles()
This method returns signer roles(string list), it can be empty.
|
X509Cert |
getSigningCertificate()
This method returns X509Cert object and it can be null.
|
Date |
getSigningTime()
This method returns Date object, it can be null.
|
String |
getStateOrProvince()
This method returns state or province(string object), it can be empty.
|
Date |
getTimeStampCreationTime()
Returns the signature timestamp generation time.
|
X509Cert |
getTimeStampTokenCertificate()
Returns the signature TimeStampToken certificate.
|
Date |
getTrustedSigningTime()
Returns signature creation time confirmed by OCSP or TimeStamp authority.
|
String |
getUniqueId()
This method returns the identifier that uniquely identifies this signature.
|
XadesValidationResult |
validate()
Validates the signature.
|
String getId()
String getUniqueId()
String getCity()
String getStateOrProvince()
String getPostalCode()
String getCountryName()
List<String> getSignerRoles()
X509Cert getSigningCertificate()
SignatureProfile getProfile()
String getSignatureMethod()
Date getSigningTime()
Date getTrustedSigningTime()
Signature.getClaimedSigningTime()
returns.Date getOCSPResponseCreationTime()
Signature.getOCSPResponseCreationTime()
instead. Will be removed in the future.X509Cert getOCSPCertificate()
List<org.bouncycastle.cert.ocsp.BasicOCSPResp> getOcspResponses()
Date getTimeStampCreationTime()
X509Cert getTimeStampTokenCertificate()
List<org.apache.xml.security.signature.Reference> getReferences()
byte[] getSignatureValue()
eu.europa.esig.dss.xades.validation.XAdESSignature getDssSignature()
XadesValidationResult validate()
byte[] getOCSPNonce()
null
if OCSP response is not present or OCSP nonce is not found inside the OCSP response.null
if not foundCopyright © 2023. All rights reserved.