1. A digital certificate, the certificate comprising a credential attribute function associated with a credential attribute property, which credential attribute property can have a plurality of values, which credential attribute function is embedded in the digital certificate as an executable file, in which the credential attribute function can determine the value of the credential attribute property at least partly by execution of the executable file.