Expand description
Support for SEC1 elliptic curve encoding formats.
Enums§
- Coordinates
- Enum representing the coordinates of either compressed or uncompressed SEC1-encoded elliptic curve points.
- Tag
- Tag byte used by the
Elliptic-Curve-Point-to-Octet-Stringencoding.
Traits§
- From
Encoded Point Deprecated - DEPRECATED: stub trait to help discover the new name for
FromSec1Point. - From
Sec1 Point - Decode curve point using the
Octet-String-to-Elliptic-Curve-Pointconversion described in SEC 1: Elliptic Curve Cryptography (Version 2.0) §2.3.4 (page 11). - Modulus
Size - Trait for supported modulus sizes which precomputes the typenums for various point encodings so they don’t need to be included as bounds.
- ToCompact
Sec1 Point - Trait for serializing a value to a SEC1 encoded curve point with compaction.
- ToEncoded
Point Deprecated - DEPRECATED: stub trait to help discover the new name for
ToSec1Point. - ToSec1
Point - Encode curve point using the
Elliptic-Curve-Point-to-Octet-Stringconversion described in SEC 1: Elliptic Curve Cryptography (Version 2.0) §2.3.3 (page 10). - Validate
Public Key - Validate that the given
Sec1Pointrepresents the encoded public key value of the given secret.
Type Aliases§
- Compressed
Point - Encoded elliptic curve point with point compression.
- Compressed
Point Size - Size of a compressed elliptic curve point.
- Encoded
Point Deprecated - DEPRECATED: legacy name for
Sec1Point. - Sec1
Point - SEC1-encoded elliptic curve point sized appropriately for a given curve.
- Uncompressed
Point - Encoded elliptic curve point without point compression.
- Uncompressed
Point Size - Size of an uncompressed elliptic curve point.