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

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:140:       Sequence dsa_sha1_algorithm = Sequence( ({ Identifiers.dsa_sha_id }) );       mapping algorithms = ([   #if constant(Crypto.MD2)    rsa_md2_algorithm->get_der() : Crypto.MD2,   #endif    rsa_md5_algorithm->get_der() : Crypto.MD5,    rsa_sha1_algorithm->get_der() : Crypto.SHA1,    rsa_sha256_algorithm->get_der() : Crypto.SHA256, + #if constant(Crypto.SHA384)    rsa_sha384_algorithm->get_der() : Crypto.SHA384, -  + #endif + #if constant(Crypto.SHA512)    rsa_sha512_algorithm->get_der() : Crypto.SHA512, -  + #endif    ]);   }      //! Creates the ASN.1 TBSCertificate sequence (see RFC2459 section   //! 4.1) to be signed (TBS) by the CA. version is explicitly set to   //! v3, validity is calculated based on time and @[ttl], and   //! @[extensions] is optionally added to the sequence. issuerUniqueID   //! and subjectUniqueID are not supported.   Sequence make_tbs(Sequence issuer, Sequence algorithm,    Sequence subject, Sequence keyinfo,