public class WrapperX509Cert
extends java.lang.Object
Wrapper class for a X.509v3 Certificate. This class provides methods to calculate/extract some information of the certificate.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Constructor and Description |
|---|
WrapperX509Cert(java.security.cert.X509Certificate cert)
Constructor method for the class WrapperX509Cert.java.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommonNameIssuer()
Gets the common name of the issuer certificate
|
java.lang.String |
getIssuerAlternativeName()
Get the issuer alternative name.
|
java.lang.String |
getOrganizationNameCertificate()
Gets the organization name of the certificate.
|
public WrapperX509Cert(java.security.cert.X509Certificate cert)
throws TSLCertificateValidationException
cert - X.509 certificate to wrap.TSLCertificateValidationException - In case of some error parsing
the input certificate with Bouncy Castle provider.public java.lang.String getOrganizationNameCertificate()
public java.lang.String getCommonNameIssuer()
public java.lang.String getIssuerAlternativeName()