pike.git / lib / modules / Standards.pmod / X509.pmod

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:276:      protected mapping(int:program(Object)) x509_types = ([    make_combined_tag(2, 1):IssuerId,    make_combined_tag(2, 2):SubjectId,    ]);      //! Represents a TBSCertificate.   //!   //! @note   //! Was not compatible with @[Standards.ASN1.Types.Sequence] - //! Prior to Pike 8.0. + //! prior to Pike 8.0.   class TBSCertificate   {    inherit Sequence;       protected string internal_der;       //!    void `der=(string asn1)    {    internal_der = UNDEFINED;
pike.git/lib/modules/Standards.pmod/X509.pmod:903:       //! Set if the certificate contains a valid basicConstraints    //! extension. RFC3280 4.2.1.10.    int(0..1) ext_basicConstraints;       //! If set, the certificate may be used as a CA certificate, i.e.    //! sign other certificates.    int(0..1) ext_basicConstraints_cA;       //! The maximum number of certificates that may follow this -  //! certificate in a certificate chain. @exp{0@} in case no limit is +  //! certificate in a certificate chain. @expr{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).    int ext_basicConstraints_pathLenConstraint;       protected int(0..1) parse_basicConstraints(Object o)    {    // FIXME: This extension must be critical if certificate contains    // public keys use usage is to validate signatures on