Function caprock_revocation_create
Defined in File basics.h
Function Documentation
-
caprock_error_t caprock_revocation_create(void *buffer, size_t *bufsize, caprock_key_pair const *issuer, uint64_t sequence_no, char const *from, char const *to, char const *expiry_policy, caprock_claim const *claims, size_t claims_size, caprock_identifier_hash_length issuer_hash_length, caprock_signature_algorithm sigalg)
This function is largely equivalent to caprock_grant_create, but produces revocations. All parameters have the same semantics, as do return values.