Download user manual
Transcript
CRL Extensions 247 You shouldn’t use this extension (or the CRYPT_CRLREASON_CERTIFICATEHOLD reasonCode) unless you really need to because although a mechanism was defined for placing a certificate on hold, no-one ever defined one for removing it from this state, so once it’s on hold it’s revoked no matter what the reasonCode says. Invalidity Date This extension contains the date on which the private key for a certificate became invalid. The extension is identified by CRYPT_CERTINFO_INVALIDITYDATE, is valid in CRLs, and is available at all certificate processing levels: Attribute/Description Type CRYPT_CERTINFO_INVALIDITYDATE Time The date on which the key identified in a CRL became invalid. Note that a CRL contains both its own date and a date for each revoked certificate, so this extension is only useful if there’s some reason for communicating the fact that a key compromise occurred at a time other than the CRL issue time or the certificate revocation time. Issuing Distribution Point and Certificate Issuer These extensions specify the CRL distribution point for a CRL and provide various pieces of additional information about the distribution point. The issuingDistributionPoint specifies the distribution point for a CRL, and the certificateIssuer specifies the issuer for an indirect CRL as indicated by the issuingDistributionPoint extension. The issuingDistributionPoint and aaIssuingDistributionPoint extensions are identified by CRYPT_CERTINFO_ISSUINGDISTRIBUTIONPOINT and CRYPT_CERTINFO_AAISSUINGDISTRIBUTIONPOINT, are valid in CRLs, and are available at the CRYPT_COMPLIANCELEVEL_PKIX_PARTIAL processing level and above: Attribute/Description Type CRYPT_CERTINFO_ISSUINGDIST_FULLNAME GeneralName The location at which CRLs may be obtained. You should use the URL component of the GeneralName for this, avoiding the other possibilities. CRYPT_CERTINFO_ISSUINGDIST_USERCERTSONLY CRYPT_CERTINFO_ISSUINGDIST_CACERTSONLY CRYPT_CERTINFO_ISSUINGDIST_SOMEREASONSONLY CRYPT_CERTINFO_ISSUINGDIST_INDIRECTCRL See certificate standards documents. Attribute/Description Boolean Boolean Numeric Boolean Type CRYPT_CERTINFO_AAISSUINGDIST_FULLNAME GeneralName The location at which CRLs may be obtained. You should use the URL component of the GeneralName for this, avoiding the other possibilities. CRYPT_CERTINFO_AAISSUINGDIST_ SOMEREASONSONLY CRYPT_CERTINFO_AAISSUINGDIST_INDIRECTCRL CRYPT_CERTINFO_AAISSUINGDIST_USERATTRCERTS CRYPT_CERTINFO_AAISSUINGDIST_AACERTS CRYPT_CERTINFO_AAISSUINGDIST_SOACERTS See certificate standards documents. Numeric Boolean Boolean Boolean Boolean Note that the CRYPT_CERTINFO_ISSUINGDIST_SOMEREASONSONLY and CRYPT_CERTINFO_AAISSUINGDIST_SOMEREASONSONLY attributes have the same allowable set of values as the cRLReasons reasonCode, but in this case is given as a series of bit flags rather than the reasonCode numeric value (because X.509 says so, that’s why). Because of this you must use CRYPT_-