Struct ursa::cl::CredentialPublicKey [−][src]
pub struct CredentialPublicKey { /* fields omitted */ }
Expand description
Issuer Public Key
contains 2 internal parts.
One for signing primary credentials and second for signing non-revocation credentials.
These keys are used to proof that credential was issued and doesn’t revoked by this issuer.
Issuer keys have global identifier that must be known to all parties.
Implementations
pub fn build_from_parts(
p_key: &CredentialPrimaryPublicKey,
r_key: Option<&CredentialRevocationPublicKey>
) -> UrsaCryptoResult<CredentialPublicKey>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.