VerifyingKey
struct VerifyingKey
Methods
to_spki_pem
pub fn to_spki_pem(self): string throws SpkiError
Encode the SPKI-encoded verifying key to PEM.
to_spki_pem
pub fn to_spki_pem(self): string throws SpkiError
Encode the SPKI-encoded verifying key to PEM.
Encode the SPKI-encoded verifying key to PEM.
to_spki_der
pub fn to_spki_der(self): Bytes throws SpkiError
Encode the SPKI-encoded verifying key to ASN.1 DER-encoded data (binary format).
to_spki_der
pub fn to_spki_der(self): Bytes throws SpkiError
Encode the SPKI-encoded verifying key to ASN.1 DER-encoded data (binary format).
Encode the SPKI-encoded verifying key to ASN.1 DER-encoded data (binary format).
to_sec1_bytes
pub fn to_sec1_bytes(self): Bytes
Convert this verifying key into the Elliptic-Curve-Point-to-Octet-String encoding described in SEC 1: Elliptic Curve Cryptography (Version 2.0) section 2.3.3 (page 10).
to_sec1_bytes
pub fn to_sec1_bytes(self): Bytes
Convert this verifying key into the Elliptic-Curve-Point-to-Octet-String encoding described in SEC 1: Elliptic Curve Cryptography (Version 2.0) section 2.3.3 (page 10).
Convert this verifying key into the Elliptic-Curve-Point-to-Octet-String encoding described in SEC 1: Elliptic Curve Cryptography (Version 2.0) section 2.3.3 (page 10).
Reference: http://www.secg.org/sec1-v2.pdf
Verify the signature of the message using the verifying key.
Verify the signature of the message using the verifying key.
Verify the signature of the message using the verifying key.
_from_sec1_bytes
pub fn _from_sec1_bytes(curve: int, bytes: Bytes): VerifyingKey throws EcdsaError
_from_sec1_bytes
pub fn _from_sec1_bytes(curve: int, bytes: Bytes): VerifyingKey throws EcdsaError
_parse_spki_der
pub fn _parse_spki_der(curve: int, data: Bytes): VerifyingKey throws SpkiError
_parse_spki_der
pub fn _parse_spki_der(curve: int, data: Bytes): VerifyingKey throws SpkiError
_parse_spki_pem
pub fn _parse_spki_pem(curve: int, pem: string): VerifyingKey throws SpkiError
_parse_spki_pem
pub fn _parse_spki_pem(curve: int, pem: string): VerifyingKey throws SpkiError