pub trait CredsPub: Verifier + Encrypter + Principaled {
// Required methods
fn public_sign(&self) -> &AsymKey<Public, Sign>;
fn concrete_pub(&self) -> ConcretePub;
// Provided method
fn sign_kind(&self) -> Sign { ... }
}
Expand description
Trait for types which can be used as public credentials.
Required Methods§
sourcefn public_sign(&self) -> &AsymKey<Public, Sign>
fn public_sign(&self) -> &AsymKey<Public, Sign>
Returns a reference to the public signing key which can be used to verify signatures.