certificate | byte[] java.security.cert.X509Certificate The certificate whose information you want to retrieve. |
dateFormat | String Optional. The date format to use for the date returned by the notBefore and notAfter fields in the validity output parameter. The value of dateFormat must be a pattern used by java.text.SimpleDateFormat, for example: MM/dd/yyyy By default, thepub.security.util:getCertificateInfo service uses a preset date format that returns only the last two digits of the certificate expiration year. This can lead can lead to ambiguity as a certificate that expires in 2109 returns an expiration year of 09, which some systems might treat as 2009. |
info | Document Information from the certificate. | ||
Key | Description | ||
version | java.lang.Number X509 certificate version number. | ||
serialNumber | String Serial number of the certificate. | ||
signature | String Signature algorithm used by the issuer to sign this certificate. | ||
issuer | Document Detailed information about the CA that signed the certificate, such as name, location, and e-mail address. | ||
validity | Document The time period over which the certificate is valid. | ||
Key | Description | ||
notBefore | String First date on which this certificate is valid (for example, 3/15/00 3:36PM). | ||
notAfter | String Last date on which this certificate is valid (for example, 3/15/00 3:36PM). | ||
subject | Document Detailed information about the owner of the certificate, such as name, location, and mail address. | ||
subjectPublicKey Algorithm | String Encryption algorithm with which the certificate's key is designed to be used (for example, RSA or DSA). |