Home
last modified time | relevance | path

Searched refs:NamedCurve (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/sec1/src/
Dparameters.rs28 NamedCurve(ObjectIdentifier), enumerator
33 ObjectIdentifier::decode_value(decoder, header).map(Self::NamedCurve) in decode_value()
40 Self::NamedCurve(oid) => oid.value_len(), in value_len()
46 Self::NamedCurve(oid) => oid.encode_value(writer), in encode_value()
55 Self::NamedCurve(oid) => Some(oid), in named_curve()
63 EcParameters::NamedCurve(oid) => oid.into(), in from()
70 EcParameters::NamedCurve(oid) in from()
/external/python/asn1crypto/asn1crypto/
Dkeys.py320 class NamedCurve(ObjectIdentifier): class
521 ('named', NamedCurve),
540 if oid not in NamedCurve._key_sizes:
548 return NamedCurve._key_sizes[oid]
/external/rust/crates/sec1/tests/
Dprivate_key.rs27 Some(EcParameters::NamedCurve( in decode_p256_der()
/external/python/asn1crypto/tests/
Dtest_keys.py604 keys.NamedCurve.register('customcurve', '1.2.3.4.5.6.7.8', 16)
606 k = keys.NamedCurve('customcurve')
/external/python/asn1crypto/
Dchangelog.md18 - Added Brainpool curves from RFC 5639 to `keys.NamedCurve()`
21 encoding sizes in `keys.NamedCurve()`
36 - Added various EC named curves to `keys.NamedCurve()`
71 - Added `keys.NamedCurve.register()` for non-mainstream curve OIDs
82 - Added secp256k1 (`1.3.132.0.10`) to `keys.NamedCurve()`