Package com.pdftools.signaturevalidation
Class Certificate
java.lang.Object
com.pdftools.internal.NativeBase
com.pdftools.internal.NativeObject
com.pdftools.signaturevalidation.Certificate
A X.509 certificate
-
Method Summary
Modifier and TypeMethodDescriptionThe certificate's fingerprint (Getter)The name of the certificate's issuer (CA) (Getter)The date after which the certificate is no longer valid.The date on which the certificate becomes valid.byte[]The raw data of the certificate as a byte array (Getter)Source of the certificate (Getter)The subject of the certificate (Getter)The name (subject) of the certificate (Getter)Whether the certificate is valid according to the validation profile used (Getter)Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
Method Details
-
getSubjectName
The name (subject) of the certificate (Getter)
The common name (CN) of the person or authority that owns the certificate. -
getSubject
The subject of the certificate (Getter)
The distinguished name (DN) of the person or authority that owns the certificate. Formatted according to RFC 4514. -
getIssuerName
The name of the certificate's issuer (CA) (Getter)
The common name (CN) of the certificate authority (CA) that issued the certificate. -
getNotAfter
The date after which the certificate is no longer valid. (Getter)
-
getNotBefore
The date on which the certificate becomes valid. (Getter)
-
getFingerprint
The certificate's fingerprint (Getter)
The hex string representation of the certificate’s SHA-1 digest. -
getRawData
public byte[] getRawData()The raw data of the certificate as a byte array (Getter)
-
getSource
Source of the certificate (Getter)
-
getValidity
Whether the certificate is valid according to the validation profile used (Getter)
-