public class CertificateInformation
extends java.lang.Object
implements java.lang.AutoCloseable, java.io.Serializable
| Constructor and Description |
|---|
CertificateInformation()
Creates a new instance of the CertificateInformation class.
|
CertificateInformation(long handle)
Creates a new instance of the CertificateInformation class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases all resources used by this CertificateInformation.
|
protected void |
finalize()
Finalizer for this class.
|
CertificateExtensionList |
getCertificateExtensionList()
Gets the the certificate extension list.
|
byte[] |
getData()
Gets the the certificate data.
|
long |
getHandle()
Gets the native handle.
|
java.lang.String |
getIssuerCommonName()
Gets the the common name (CN) of the certificate issuer.
|
java.lang.String |
getIssuerCountry()
Gets the the country (C) of the certificate issuer.
|
java.lang.String |
getIssuerDistinguishedName()
Gets the the distinguished name (DN) of the certificate issuer.
|
java.lang.String |
getIssuerOrganization()
Gets the the organization (O) of the certificate issuer.
|
java.lang.String |
getIssuerOrganizationalUnit()
Gets the the organizational unit (OU) of the certificate issuer.
|
StringArray |
getKeyUsage()
Gets the the certificate key usage list.
|
DateTime |
getNotAfter()
Gets the the date in local time after which a certificate is no longer valid.
|
DateTime |
getNotBefore()
Gets the the date in local time when a certificate becomes valid.
|
StringArray |
getPolicies()
Gets the the certificate policies.
|
byte[] |
getPublicKey()
Gets the the certificate public key.
|
byte[] |
getSerialNumber()
Gets the the serial number of the certificate.
|
java.lang.String |
getSerialNumberString()
Gets the the serial number from the certificate as a string.
|
java.lang.String |
getSignatureAlgorithm()
Gets the the OID of the certificate's signing algorithm.
|
java.lang.String |
getSubjectCommonName()
Gets the the subject common name (CN) from the certificate.
|
java.lang.String |
getSubjectCountry()
Gets the the country (C) of the certificate subject.
|
java.lang.String |
getSubjectDistinguishedName()
Gets the the subject distinguished (DN) name of the certificate.
|
java.lang.String |
getSubjectOrganization()
Gets the the organization (O) of the certificate subject.
|
java.lang.String |
getSubjectOrganizationalUnit()
Gets the the organizational unit (OU) of the certificate subject.
|
int |
getVersion()
Gets the the certificate version.
|
public CertificateInformation()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public CertificateInformation(long handle)
throws BiosealException
handle - Handle to the CertificateInformation.BiosealException - An error has occurred during Bioseal Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public java.lang.String getIssuerCommonName()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getIssuerOrganization()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getIssuerCountry()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getIssuerOrganizationalUnit()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getIssuerDistinguishedName()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getSubjectCommonName()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getSubjectOrganization()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getSubjectCountry()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getSubjectOrganizationalUnit()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getSubjectDistinguishedName()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public DateTime getNotBefore() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public DateTime getNotAfter() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public byte[] getSerialNumber()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getSerialNumberString()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public byte[] getData()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getSignatureAlgorithm()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public int getVersion()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public byte[] getPublicKey()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public StringArray getKeyUsage() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public StringArray getPolicies() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public CertificateExtensionList getCertificateExtensionList() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.bioseal