code: func (*Revocation) Verify(pk *ecdsa.PublicKey, criRaw []byte, epoch int, alg bccsp.RevocationAlgorithm) (err error) {
  	defer func() {
  		if r := recover(); r != nil {
  			err = errors.Errorf("failure [%s]", r)
  		}
  	}()
  
  	cri := &cryptolib.CredentialRevocationInformation{}
  	err = proto.Unmarshal(criRaw, cri)
  	if err != nil {
  		return err
  	}
  
  	return cryptolib.VerifyEpochPK(
  		pk,
  		cri.EpochPk,
  		cri.EpochPkSig,
  		int(cri.Epoch),
  		cryptolib.RevocationAlgorithm(cri.RevocationAlg),
  	)
  }
docs: // Verify checks that the passed serialised CRI (criRaw) is valid with the respect to the passed revocation public key,
  // epoch, and revocation algorithm.