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.0.7
Show newest version
package org.bouncycastle.tls;

import org.bouncycastle.tls.crypto.TlsCertificate;

import java.util.Map;

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

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

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

    public TlsCertificate getCertificate()
    {
        return certificate;
    }

    public Map getExtensions()
    {
        return extensions;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy