pub fn verify_credential_jwt(
jwt_str: &str,
verifier: &dyn Verifier,
) -> Result<VerifiableCredential>Expand description
Verify a JWT-encoded Verifiable Credential.
Verifies the signature, validates nbf/exp time claims (with 60s
leeway for clock skew), and extracts the VerifiableCredential from
the vc claim.
Returns CredentialError::Expired if the credential has expired, and
CredentialError::InvalidCredential if the credential is not yet valid.