VerifyingKey
struct VerifyingKey
Static Methods
from_bytes
pub fn from_bytes(bytes: Bytes): VerifyingKey throws Ed25519Error
Creates a verifying key from bytes.
from_bytes
pub fn from_bytes(bytes: Bytes): VerifyingKey throws Ed25519Error
Creates a verifying key from bytes.
Creates a verifying key from bytes.
parse_spki_der
pub fn parse_spki_der(data: Bytes): VerifyingKey throws SpkiError
Parse SPKI-encoded verifying key from ASN.1 DER-encoded data (binary format).
parse_spki_der
pub fn parse_spki_der(data: Bytes): VerifyingKey throws SpkiError
Parse SPKI-encoded verifying key from ASN.1 DER-encoded data (binary format).
Parse SPKI-encoded verifying key from ASN.1 DER-encoded data (binary format).
parse_spki_pem
pub fn parse_spki_pem(pem: string): VerifyingKey throws SpkiError
Parse SPKI-encoded verifying key from PEM.
parse_spki_pem
pub fn parse_spki_pem(pem: string): VerifyingKey throws SpkiError
Parse SPKI-encoded verifying key from PEM.
Parse SPKI-encoded verifying key from PEM.
Methods
Get the bytes of the verifying key.
Get the bytes of the verifying key.
Get the bytes of the verifying key.
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_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.