Trait ockam_entity::CredentialVerifier[][src]

pub trait CredentialVerifier {
    fn create_proof_request_id(&mut self) -> Result<ProofRequestId>;
fn verify_proof_of_possession(
        &mut self,
        issuer_vk: SigningPublicKey,
        proof: ProofBytes
    ) -> Result<bool>;
fn verify_credential_presentations(
        &mut self,
        presentations: &[CredentialPresentation],
        presentation_manifests: &[PresentationManifest],
        proof_request_id: ProofRequestId
    ) -> Result<bool>; }
Expand description

Credential Verifier

Required methods

Create a unique proof request id so the holder must create a fresh proof

Verify a proof of possession

Check if the credential presentations are valid

Implementors