The present invention provides a digital certificate (2, 32), the
certificate comprising a credential attribute function (6, 38) associated
with a credential attribute property (5, 36), which credential attribute
function is embedded in the certificate as an executable file, in which
the credential attribute function can determine the value (12, 44) of the
credential attribute property at least partly by execution of the
executable file. A corresponding method is also disclosed.