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

org.bouncycastle.tls.CertificateEntry Maven / Gradle / Ivy

There is a newer version: 1.78.1
Show newest version
package org.bouncycastle.tls;

import java.util.Hashtable;

import org.bouncycastle.tls.crypto.TlsCertificate;

public class CertificateEntry
{
    protected final TlsCertificate certificate;
    protected final Hashtable extensions;

    public CertificateEntry(TlsCertificate certificate, Hashtable extensions)
    {
        if (null == certificate)
        {
            throw new NullPointerException("'certificate' cannot be null");
        }

        this.certificate = certificate;
        this.extensions = extensions;
    }

    public TlsCertificate getCertificate()
    {
        return certificate;
    }

    public Hashtable getExtensions()
    {
        return extensions;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy