All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bouncycastle.jcajce.interfaces.BCX509Certificate Maven / Gradle / Ivy

Go to download

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 Java 1.8 and later with debug enabled.

The newest version!
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy