pike.git / lib / modules / Standards.pmod / PKCS.pmod / ECDSA.pmod

version» Context lines:

pike.git/lib/modules/Standards.pmod/PKCS.pmod/ECDSA.pmod:24:   //! named curve identifier.   //!   //! @returns   //! Returns @[UNDEFINED] if the curve is unsupported.   Crypto.ECC.Curve parse_ec_parameters(string ec_parameters)   {    return curve_lookup[ec_parameters];   }      //! - variant Crypto.ECC.Curve parse_ec_paramaters(Identifier|void named_curve) + variant Crypto.ECC.Curve parse_ec_parameters(Standards.ASN1.Types.Identifier|void named_curve)   {    if (!named_curve) return UNDEFINED;    return parse_ec_parameters(named_curve->get_der());   }      //! Create a DER-coded ECPrivateKey structure   //! @param ecdsa   //! @[Crypto.ECC.Curve()->ECDSA] object.   //! @returns   //! ASN.1 coded ECPrivateKey structure as specified in