blob: 673e29fca74ca7f700c5579c6a9e41df6004f95f [file] [log] [blame]
package revocation
import (
"v.io/core/veyron2/uniqueid"
"v.io/core/veyron2/security"
)
// NotRevokedCaveat is used to implement revocation.
// It validates iff the parameter is not included in a list of blacklisted
// values.
//
// The third-party discharging service checks this revocation caveat against a
// database of blacklisted (revoked) keys before issuing a discharge.
const NotRevokedCaveat = security.CaveatDescriptor{
Id: uniqueid.Id{0x4b, 0x46, 0x5c, 0x56, 0x37, 0x79, 0xd1, 0x3b, 0x7b, 0xa3, 0xa7, 0xd6, 0xa5, 0x34, 0x80, 0x0},
ParamType: typeobject([]byte),
}