org.bouncycastle.jcajce.interfaces.BCX509Certificate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk15to18 Show documentation
Show all versions of bcprov-jdk15to18 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.
package org.bouncycastle.jcajce.interfaces;
import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.asn1.x509.TBSCertificate;
/**
* Interface exposing some additional methods on a BC native certificate object.
*/
public interface BCX509Certificate
{
/**
* Return the certificate issuer as an X500Name.
*
* @return the issuer.
*/
X500Name getIssuerX500Name();
/**
* Return the ASN.1 class representing the TBSCertificate for this certificate.
*
* @return the issuer.
*/
TBSCertificate getTBSCertificateNative();
/**
* Return the certificate subject as an X500Name.
*
* @return the issuer.
*/
X500Name getSubjectX500Name();
}