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 impersonator Show documentation
Show all versions of impersonator Show documentation
Spoof TLS/JA3/JA4 and HTTP/2 fingerprints in Java
The 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;
}
}