Class Standards.X509.TBSCertificate

Inheritance graph
Description

Represents a TBSCertificate.

Note

Was not compatible with Standards.ASN1.Types.Sequence prior to Pike 8.0.


Inherit Sequence

inherit Sequence : Sequence


Variable algorithm

void Standards.X509.TBSCertificate.algorithm

Description

Algorithm Identifier.


Variable critical

multiset Standards.X509.TBSCertificate.critical

Note

optional

Note

Read only


Variable der

void Standards.X509.TBSCertificate.der


Variable ext_authorityKeyIdentifier

bool Standards.X509.TBSCertificate.ext_authorityKeyIdentifier

Description

Set if the certificate contains a valid authorityKeyIdentifier extension. RFC 3280 section 4.2.1.1.


Variable ext_authorityKeyIdentifier_authorityCertSerialNumber

Gmp.mpz Standards.X509.TBSCertificate.ext_authorityKeyIdentifier_authorityCertSerialNumber

Description

Set to the CertificateSerialNumber, if set in the extension.


Variable ext_authorityKeyIdentifier_keyIdentifier

string Standards.X509.TBSCertificate.ext_authorityKeyIdentifier_keyIdentifier

Description

Set to the KeyIdentifier, if set in the extension.


Variable ext_basicConstraints

bool Standards.X509.TBSCertificate.ext_basicConstraints

Description

Set if the certificate contains a valid basicConstraints extension. RFC 3280 section 4.2.1.10.


Variable ext_basicConstraints_cA

bool Standards.X509.TBSCertificate.ext_basicConstraints_cA

Description

If set, the certificate may be used as a CA certificate, i.e. sign other certificates.


Variable ext_basicConstraints_pathLenConstraint

int Standards.X509.TBSCertificate.ext_basicConstraints_pathLenConstraint

Description

The maximum number of certificates that may follow this certificate in a certificate chain. 0 in case no limit is imposed. Note that this variable is off by one compared to the RFC 3280 definition, which only counts intermediate certificates (i.e. 0 intermediates means this variable would be 1, as in one following certificate).


Variable ext_extKeyUsage

array(Identifier) Standards.X509.TBSCertificate.ext_extKeyUsage

Description

Set to the list of extended key usages from anyExtendedKeyUsage, if the certificate contains the extKeyUsage extensions. These Identifier objects are typically found in .PKCS.Identifiers.reverse_kp_ids. RFC 3280 section 4.2.1.13.


Variable ext_keyUsage

keyUsage Standards.X509.TBSCertificate.ext_keyUsage

Description

Set to the value of the KeyUsage if the certificate contains the keyUsage extension. RFC 3280 section 4.2.1.3.


Variable ext_subjectKeyIdentifier

string Standards.X509.TBSCertificate.ext_subjectKeyIdentifier

Description

Set to the value of the SubjectKeyIdentifier if the certificate contains the subjectKeyIdentifier extension. RFC 3280 section 4.2.1.2.


Variable extensions

mapping(Identifier:Object) Standards.X509.TBSCertificate.extensions

Note

optional

Note

Read only


Variable hash

Crypto.Hash Standards.X509.TBSCertificate.hash

Description

Algorithm hash if known and supported. Otherwise UNDEFINED.

Note

Read only


Variable internal_critical

protected multiset Standards.X509.TBSCertificate.internal_critical

Note

optional


Variable internal_extensions

protected mapping(Identifier:Object) Standards.X509.TBSCertificate.internal_extensions

Note

optional


Variable issuer

void Standards.X509.TBSCertificate.issuer

Description

Certificate issuer.


Variable issuer_id

void Standards.X509.TBSCertificate.issuer_id

Note

optional


Variable keyinfo

void Standards.X509.TBSCertificate.keyinfo


Variable not_after

void Standards.X509.TBSCertificate.not_after


Variable not_before

void Standards.X509.TBSCertificate.not_before


Variable public_key

void Standards.X509.TBSCertificate.public_key


Variable raw_extensions

void Standards.X509.TBSCertificate.raw_extensions

Description

The raw ASN.1 objects from which extensions and critical have been generated.

Note

optional


Variable serial

void Standards.X509.TBSCertificate.serial


Variable subject

void Standards.X509.TBSCertificate.subject


Variable subject_id

void Standards.X509.TBSCertificate.subject_id

Note

optional


Variable validity

void Standards.X509.TBSCertificate.validity


Variable version

void Standards.X509.TBSCertificate.version