org.bouncycastle.tls.CertificateEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bctls-jdk14 Show documentation
Show all versions of bctls-jdk14 Show documentation
The Bouncy Castle Java APIs for TLS and DTLS.
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;
}
}