-
- All Known Implementing Classes:
CertificateDataBean
public interface CertificateData
Interface for the meta-data of aCertificate
.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getIssuer()
Instant
getNotAfter()
Instant
getNotBefore()
BigInteger
getSerialNumber()
String
getSignatureAlgorithm()
String
getSubject()
-
-
-
Method Detail
-
getIssuer
String getIssuer()
- Returns:
- the issuer of the certificate.
-
getSubject
String getSubject()
- Returns:
- the subject of the certificate (e.g. "CN=myname@mydomain.com").
-
getSerialNumber
BigInteger getSerialNumber()
- Returns:
- the serial number (e.g.
BigInteger.ONE
).
-
getNotBefore
Instant getNotBefore()
- Returns:
- the begin of the validity.
- See Also:
X509Certificate.getNotBefore()
-
getNotAfter
Instant getNotAfter()
- Returns:
- the end of the validity.
- See Also:
X509Certificate.getNotAfter()
-
getSignatureAlgorithm
String getSignatureAlgorithm()
- Returns:
- the
algorithm name
for the signature.
-
-