pub struct KeyType(_);Expand description
Identifiers for the type of key or object getting signed.
Implementations§
source§impl KeyType
impl KeyType
sourcepub const ED25519_KEY: KeyType = _
pub const ED25519_KEY: KeyType = _
Identifier for an Ed25519 key.
sourcepub const SHA256_OF_RSA: KeyType = _
pub const SHA256_OF_RSA: KeyType = _
Identifier for the SHA256 of an DER-encoded RSA key.
sourcepub const SHA256_OF_X509: KeyType = _
pub const SHA256_OF_X509: KeyType = _
Identifies the SHA256 of an X.509 certificate.
sourcepub fn is_recognized(self) -> bool
pub fn is_recognized(self) -> bool
Return true if this value is one that we recognize.