pike.git
/
lib
/
modules
/
Standards.pmod
/
PKCS.pmod
/
ECDSA.pmod
version
»
Context lines:
10
20
40
80
file
none
3
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