public class SignedCertificateTimestamp extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SignedCertificateTimestamp.Origin |
static class |
SignedCertificateTimestamp.SignatureType |
static class |
SignedCertificateTimestamp.Version |
| Constructor and Description |
|---|
SignedCertificateTimestamp(SignedCertificateTimestamp.Version version,
byte[] logId,
long timestamp,
byte[] extensions,
DigitallySigned signature,
SignedCertificateTimestamp.Origin origin) |
| Modifier and Type | Method and Description |
|---|---|
static SignedCertificateTimestamp |
decode(byte[] input,
SignedCertificateTimestamp.Origin origin)
Decode a TLS encoded SignedCertificateTimestamp structure.
|
static SignedCertificateTimestamp |
decode(InputStream input,
SignedCertificateTimestamp.Origin origin)
Decode a TLS encoded SignedCertificateTimestamp structure.
|
byte[] |
encodeTBS(CertificateEntry certEntry)
TLS encode the signed part of the SCT, as described by RFC6962 section 3.2.
|
void |
encodeTBS(OutputStream output,
CertificateEntry certEntry)
TLS encode the signed part of the SCT, as described by RFC6962 section 3.2.
|
byte[] |
getExtensions() |
byte[] |
getLogID() |
SignedCertificateTimestamp.Origin |
getOrigin() |
DigitallySigned |
getSignature() |
long |
getTimestamp() |
SignedCertificateTimestamp.Version |
getVersion() |
public SignedCertificateTimestamp(SignedCertificateTimestamp.Version version, byte[] logId, long timestamp, byte[] extensions, DigitallySigned signature, SignedCertificateTimestamp.Origin origin)
public SignedCertificateTimestamp.Version getVersion()
public byte[] getLogID()
public long getTimestamp()
public byte[] getExtensions()
public DigitallySigned getSignature()
public SignedCertificateTimestamp.Origin getOrigin()
public static SignedCertificateTimestamp decode(InputStream input, SignedCertificateTimestamp.Origin origin) throws SerializationException
SerializationExceptionpublic static SignedCertificateTimestamp decode(byte[] input, SignedCertificateTimestamp.Origin origin) throws SerializationException
SerializationExceptionpublic void encodeTBS(OutputStream output, CertificateEntry certEntry) throws SerializationException
SerializationExceptionpublic byte[] encodeTBS(CertificateEntry certEntry) throws SerializationException
SerializationException