Top Description Inners Fields Constructors Methods
org.conscrypt.ct

public Class SignedCertificateTimestamp

extends Object
Class Inheritance
Annotations
@Internal
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .InputStream, .OutputStream, org.conscrypt.Internal

SignedCertificateTimestamp structure, as defined by RFC6962 Section 3.2.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
public static enum
public static enum

Field Summary

Modifier and TypeField and Description
private final byte[]
private final byte[]
private final SignedCertificateTimestamp.Origin
private final DigitallySigned
private final long
private final SignedCertificateTimestamp.Version

Constructor Summary

AccessConstructor and Description
public
SignedCertificateTimestamp(SignedCertificateTimestamp.Version version, byte[] logId, long timestamp, byte[] extensions, DigitallySigned signature, SignedCertificateTimestamp.Origin origin)

Method Summary

Modifier and TypeMethod and Description
public static SignedCertificateTimestamp
decode(InputStream input, SignedCertificateTimestamp.Origin origin)

Decode a TLS encoded SignedCertificateTimestamp structure.

public static SignedCertificateTimestamp
decode(byte[] input, SignedCertificateTimestamp.Origin origin)

Decode a TLS encoded SignedCertificateTimestamp structure.

public void
encodeTBS(OutputStream output, CertificateEntry certEntry)

TLS encode the signed part of the SCT, as described by RFC6962 section 3.2.

public byte[]
encodeTBS(CertificateEntry certEntry)

TLS encode the signed part of the SCT, as described by RFC6962 section 3.2.

public byte[]
public byte[]
public SignedCertificateTimestamp.Origin
public DigitallySigned
public long
public SignedCertificateTimestamp.Version
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

extensionsback to summary
private final byte[] extensions
logIdback to summary
private final byte[] logId
originback to summary
private final SignedCertificateTimestamp.Origin origin
signatureback to summary
private final DigitallySigned signature
timestampback to summary
private final long timestamp
versionback to summary
private final SignedCertificateTimestamp.Version version

Constructor Detail

SignedCertificateTimestampback to summary
public SignedCertificateTimestamp(SignedCertificateTimestamp.Version version, byte[] logId, long timestamp, byte[] extensions, DigitallySigned signature, SignedCertificateTimestamp.Origin origin)

Method Detail

decodeback to summary
public static SignedCertificateTimestamp decode(InputStream input, SignedCertificateTimestamp.Origin origin) throws SerializationException

Decode a TLS encoded SignedCertificateTimestamp structure.

decodeback to summary
public static SignedCertificateTimestamp decode(byte[] input, SignedCertificateTimestamp.Origin origin) throws SerializationException

Decode a TLS encoded SignedCertificateTimestamp structure.

encodeTBSback to summary
public void encodeTBS(OutputStream output, CertificateEntry certEntry) throws SerializationException

TLS encode the signed part of the SCT, as described by RFC6962 section 3.2.

encodeTBSback to summary
public byte[] encodeTBS(CertificateEntry certEntry) throws SerializationException

TLS encode the signed part of the SCT, as described by RFC6962 section 3.2.

getExtensionsback to summary
public byte[] getExtensions()
getLogIDback to summary
public byte[] getLogID()
getOriginback to summary
public SignedCertificateTimestamp.Origin getOrigin()
getSignatureback to summary
public DigitallySigned getSignature()
getTimestampback to summary
public long getTimestamp()
getVersionback to summary
public SignedCertificateTimestamp.Version getVersion()
org.conscrypt.ct back to summary

public final Enum SignedCertificateTimestamp.Origin

extends Enum<SignedCertificateTimestamp.Origin>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final SignedCertificateTimestamp.Origin
public static final SignedCertificateTimestamp.Origin
public static final SignedCertificateTimestamp.Origin

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SignedCertificateTimestamp.Origin
public static SignedCertificateTimestamp.Origin[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EMBEDDEDback to summary
public static final SignedCertificateTimestamp.Origin EMBEDDED
OCSP_RESPONSEback to summary
public static final SignedCertificateTimestamp.Origin OCSP_RESPONSE
TLS_EXTENSIONback to summary
public static final SignedCertificateTimestamp.Origin TLS_EXTENSION

Constructor Detail

Originback to summary
private Origin()

Method Detail

valueOfback to summary
public static SignedCertificateTimestamp.Origin valueOf(String name)
valuesback to summary
public static SignedCertificateTimestamp.Origin[] values()
org.conscrypt.ct back to summary

public final Enum SignedCertificateTimestamp.SignatureType

extends Enum<SignedCertificateTimestamp.SignatureType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final SignedCertificateTimestamp.SignatureType
public static final SignedCertificateTimestamp.SignatureType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SignedCertificateTimestamp.SignatureType
public static SignedCertificateTimestamp.SignatureType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CERTIFICATE_TIMESTAMPback to summary
public static final SignedCertificateTimestamp.SignatureType CERTIFICATE_TIMESTAMP
TREE_HASHback to summary
public static final SignedCertificateTimestamp.SignatureType TREE_HASH

Constructor Detail

SignatureTypeback to summary
private SignatureType()

Method Detail

valueOfback to summary
public static SignedCertificateTimestamp.SignatureType valueOf(String name)
valuesback to summary
public static SignedCertificateTimestamp.SignatureType[] values()
org.conscrypt.ct back to summary

public final Enum SignedCertificateTimestamp.Version

extends Enum<SignedCertificateTimestamp.Version>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final SignedCertificateTimestamp.Version

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SignedCertificateTimestamp.Version
public static SignedCertificateTimestamp.Version[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

V1back to summary
public static final SignedCertificateTimestamp.Version V1

Constructor Detail

Versionback to summary
private Version()

Method Detail

valueOfback to summary
public static SignedCertificateTimestamp.Version valueOf(String name)
valuesback to summary
public static SignedCertificateTimestamp.Version[] values()