public class CertificateTransparencyPoison extends V3Extension
The Precertificate is constructed from the certificate to be issued by adding a special critical poison extension (OID 1.3.6.1.4.1.11129.2.4.3, whose extnValue OCTET STRING contains ASN.1 NULL data (0x05 0x00)) to the end-entity TBSCertificate, minus the SCT extension, which is obviously unknown until after the Precertificate has been submitted to the log. The poison extension is to ensure that the Precertificate cannot be validated by a standard X.509v3 client.
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid
The Certificate Transparency Poison Extension
|
critical| Constructor and Description |
|---|
CertificateTransparencyPoison() |
| Modifier and Type | Method and Description |
|---|---|
ObjectID |
getObjectID()
Returns the object ID of the extension.
|
int |
hashCode()
Returns the hash code of the extension.
|
void |
init(ASN1Object obj)
Inits the implementation with an ASN1Object.
|
ASN1Object |
toASN1Object()
Return the ASN1Object representation of this Certificate Transparency Poison Extension.
|
getName, isCritical, setCriticalpublic static final ObjectID oid
public void init(ASN1Object obj) throws X509ExtensionException
V3ExtensionX509Extensions class when parsing the ASN.1 representation
of a certificate (or a CRL) for properly initializing any
included extension. This method initilaizes a specific
extension only with its value, but not with its critical
specification. For that reason, this method shall not be
explicitly called by an application.init in class V3Extensionobj - the extension value as ASN1ObjectX509ExtensionException - if the extension could not parse the ASN1Objectpublic ASN1Object toASN1Object() throws X509ExtensionException
toASN1Object in class V3ExtensionX509ExtensionException - if the extension could not be createdpublic ObjectID getObjectID()
V3ExtensiongetObjectID in class V3ExtensionCertificateTransparencyPoison extensionpublic int hashCode()
V3ExtensionhashCode in class V3Extension