|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.cert.ct.SignedCertificateTimestampList
RFC 6962 (CT v1) : the TLS-encoded
structure carried inside the embedded-SCT certificate extension and the
OCSP SCT-list extension.
opaque SerializedSCT<1..2^16-1>;
struct {
SerializedSCT sct_list<1..2^16-1>;
} SignedCertificateTimestampList;
The list bytes - i.e. what getInstance(byte[]) consumes and
getEncoded() produces - are the bare TLS encoding. In a certificate
or OCSP extension RFC 6962 sec. 3.3 encodes the list as an ASN.1 OCTET STRING,
which is then carried in the extension's , so the list bytes
are the contents of an OCTET STRING nested inside ;
fromExtensions(Extensions) removes that inner OCTET STRING.
For RFC 9162 (CT v2), the analogous list type is
TransItemList; the two formats are not interchangeable.
X509ObjectIdentifiers.id_ce_ct_embeddedSCTList,
X509ObjectIdentifiers.id_ocsp_ct_sctList| Constructor Summary | |
SignedCertificateTimestampList(SignedCertificateTimestamp[] scts)
|
|
| Method Summary | |
static SignedCertificateTimestampList |
fromExtensions(org.bouncycastle.asn1.x509.Extensions extensions)
Recover the v1 SCT list from the X509ObjectIdentifiers.id_ce_ct_embeddedSCTList
certificate extension, if present. |
byte[] |
getEncoded()
Serialize the list to its TLS wire form. |
static SignedCertificateTimestampList |
getInstance(byte[] encoded)
Decode a list from its TLS wire form. |
java.util.List |
getSCTs()
The decoded SCTs, in wire order. |
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SignedCertificateTimestampList(SignedCertificateTimestamp[] scts)
| Method Detail |
public static SignedCertificateTimestampList getInstance(byte[] encoded)
public static SignedCertificateTimestampList fromExtensions(org.bouncycastle.asn1.x509.Extensions extensions)
X509ObjectIdentifiers.id_ce_ct_embeddedSCTList
certificate extension, if present. Returns when the
extension is absent.
public java.util.List getSCTs()
public int size()
public byte[] getEncoded()
|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||