public class CertificateEntry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CertificateEntry.LogEntryType |
| Modifier and Type | Method and Description |
|---|---|
static CertificateEntry |
createForPrecertificate(byte[] tbsCertificate,
byte[] issuerKeyHash) |
static CertificateEntry |
createForPrecertificate(OpenSSLX509Certificate leaf,
OpenSSLX509Certificate issuer) |
static CertificateEntry |
createForX509Certificate(byte[] x509Certificate) |
static CertificateEntry |
createForX509Certificate(X509Certificate cert) |
void |
encode(OutputStream output)
TLS encode the CertificateEntry structure.
|
byte[] |
getCertificate() |
CertificateEntry.LogEntryType |
getEntryType() |
byte[] |
getIssuerKeyHash() |
public static CertificateEntry createForPrecertificate(byte[] tbsCertificate, byte[] issuerKeyHash)
IllegalArgumentException - if issuerKeyHash isn't 32 bytespublic static CertificateEntry createForPrecertificate(OpenSSLX509Certificate leaf, OpenSSLX509Certificate issuer) throws CertificateException
CertificateExceptionpublic static CertificateEntry createForX509Certificate(byte[] x509Certificate)
public static CertificateEntry createForX509Certificate(X509Certificate cert) throws CertificateEncodingException
CertificateEncodingExceptionpublic CertificateEntry.LogEntryType getEntryType()
public byte[] getCertificate()
public byte[] getIssuerKeyHash()
public void encode(OutputStream output) throws SerializationException
SerializationException