Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.interfaces
Interface BCX509Certificate


public interface BCX509Certificate

Interface exposing some additional methods on a BC native certificate object.


Method Summary
 X500Name getIssuerX500Name()
          Return the certificate issuer as an X500Name.
 X500Name getSubjectX500Name()
          Return the certificate subject as an X500Name.
 TBSCertificate getTBSCertificateNative()
          Return the ASN.1 class representing the TBSCertificate for this certificate.
 

Method Detail

getIssuerX500Name

public X500Name getIssuerX500Name()
Return the certificate issuer as an X500Name.
Returns:
the issuer.

getTBSCertificateNative

public TBSCertificate getTBSCertificateNative()
Return the ASN.1 class representing the TBSCertificate for this certificate.
Returns:
the issuer.

getSubjectX500Name

public X500Name getSubjectX500Name()
Return the certificate subject as an X500Name.
Returns:
the issuer.

Bouncy Castle Cryptography Library 1.77.0