Structure
P256K.Signing.PublicKey
secp256k1 ECDSA public key for verifying P256K.Signing.ECDSASignature values, available in compressed (33-byte) or uncompressed (65-byte) serialized form.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
struct PublicKey
Mentioned In
Overview
Obtain a public key from its companion publicKey property, or by deserializing a compressed (33-byte), uncompressed (65-byte), PEM, DER, or ANSI X9.63 representation. The serialization format is preserved and reported by the format property. Parsing goes through secp256k1_ec_pubkey_parse (declared in Vendor/secp256k1/include/secp256k1.h), which rejects off-curve points and wrong-length encodings.
Topics
Construction
Serialized Forms
Algebra
Instance Methods