⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cryptlib.pas

📁 cryptlib安全工具包
💻 PAS
📖 第 1 页 / 共 5 页
字号:
    { Signature options }  CRYPT_OPTION_SIG_ALGO = 111;  { Signature algorithm }  CRYPT_OPTION_SIG_KEYSIZE = 112;  { Signature keysize }    { Keying options }  CRYPT_OPTION_KEYING_ALGO = 113;  { Key processing algorithm }  CRYPT_OPTION_KEYING_ITERATIONS = 114;  { Key processing iterations }    { Certificate options }  CRYPT_OPTION_CERT_SIGNUNRECOGNISEDATTRIBUTES = 115;  { Whether to sign unrecog.attrs }  CRYPT_OPTION_CERT_VALIDITY = 116;  { Certificate validity period }  CRYPT_OPTION_CERT_UPDATEINTERVAL = 117;  { CRL update interval }  CRYPT_OPTION_CERT_COMPLIANCELEVEL = 118;  { PKIX compliance level for cert chks.}  CRYPT_OPTION_CERT_REQUIREPOLICY = 119;  { Whether explicit policy req'd for certs }    { CMS/SMIME options }  CRYPT_OPTION_CMS_DEFAULTATTRIBUTES = 120;  { Add default CMS attributes }  CRYPT_OPTION_SMIME_DEFAULTATTRIBUTES = 120; { = CRYPT_OPTION_CMS_DEFAULTATTRIBUTES }      { LDAP keyset options }  CRYPT_OPTION_KEYS_LDAP_OBJECTCLASS = 121;  { Object class }  CRYPT_OPTION_KEYS_LDAP_OBJECTTYPE = 122;  { Object type to fetch }  CRYPT_OPTION_KEYS_LDAP_FILTER = 123;  { Query filter }  CRYPT_OPTION_KEYS_LDAP_CACERTNAME = 124;  { CA certificate attribute name }  CRYPT_OPTION_KEYS_LDAP_CERTNAME = 125;  { Certificate attribute name }  CRYPT_OPTION_KEYS_LDAP_CRLNAME = 126;  { CRL attribute name }  CRYPT_OPTION_KEYS_LDAP_EMAILNAME = 127;  { Email attribute name }    { Crypto device options }  CRYPT_OPTION_DEVICE_PKCS11_DVR01 = 128;  { Name of first PKCS #11 driver }  CRYPT_OPTION_DEVICE_PKCS11_DVR02 = 129;  { Name of second PKCS #11 driver }  CRYPT_OPTION_DEVICE_PKCS11_DVR03 = 130;  { Name of third PKCS #11 driver }  CRYPT_OPTION_DEVICE_PKCS11_DVR04 = 131;  { Name of fourth PKCS #11 driver }  CRYPT_OPTION_DEVICE_PKCS11_DVR05 = 132;  { Name of fifth PKCS #11 driver }  CRYPT_OPTION_DEVICE_PKCS11_HARDWAREONLY = 133;  { Use only hardware mechanisms }    { Network access options }  CRYPT_OPTION_NET_SOCKS_SERVER = 134;  { Socks server name }  CRYPT_OPTION_NET_SOCKS_USERNAME = 135;  { Socks user name }  CRYPT_OPTION_NET_HTTP_PROXY = 136;  { Web proxy server }  CRYPT_OPTION_NET_CONNECTTIMEOUT = 137;  { Timeout for network connection setup }  CRYPT_OPTION_NET_READTIMEOUT = 138;  { Timeout for network reads }  CRYPT_OPTION_NET_WRITETIMEOUT = 139;  { Timeout for network writes }    { Miscellaneous options }  CRYPT_OPTION_MISC_ASYNCINIT = 140;  { Whether to init cryptlib async'ly }  CRYPT_OPTION_MISC_SIDECHANNELPROTECTION = 141;  { Protect against side-channel attacks }    { cryptlib state information }  CRYPT_OPTION_CONFIGCHANGED = 142;  { Whether in-mem.opts match on-disk ones }  CRYPT_OPTION_SELFTESTOK = 143;  { Whether self-test was completed and OK }    { Used internally }  CRYPT_OPTION_LAST = 144;  CRYPT_CTXINFO_FIRST = 1000;      {********************}  { Context attributes }  {********************}    { Algorithm and mode information }  CRYPT_CTXINFO_ALGO = 1001;  { Algorithm }  CRYPT_CTXINFO_MODE = 1002;  { Mode }  CRYPT_CTXINFO_NAME_ALGO = 1003;  { Algorithm name }  CRYPT_CTXINFO_NAME_MODE = 1004;  { Mode name }  CRYPT_CTXINFO_KEYSIZE = 1005;  { Key size in bytes }  CRYPT_CTXINFO_BLOCKSIZE = 1006;  { Block size }  CRYPT_CTXINFO_IVSIZE = 1007;  { IV size }  CRYPT_CTXINFO_KEYING_ALGO = 1008;  { Key processing algorithm }  CRYPT_CTXINFO_KEYING_ITERATIONS = 1009;  { Key processing iterations }  CRYPT_CTXINFO_KEYING_SALT = 1010;  { Key processing salt }  CRYPT_CTXINFO_KEYING_VALUE = 1011;  { Value used to derive key }    { State information }  CRYPT_CTXINFO_KEY = 1012;  { Key }  CRYPT_CTXINFO_KEY_COMPONENTS = 1013;  { Public-key components }  CRYPT_CTXINFO_IV = 1014;  { IV }  CRYPT_CTXINFO_HASHVALUE = 1015;  { Hash value }    { Misc.information }  CRYPT_CTXINFO_LABEL = 1016;  { Label for private/secret key }  CRYPT_CTXINFO_PERSISTENT = 1017;  { Obj.is backed by device or keyset }    { Used internally }  CRYPT_CTXINFO_LAST = 1018;  CRYPT_CERTINFO_FIRST = 2000;      {************************}  { Certificate attributes }  {************************}    { Because there are so many cert attributes, we break them down into  blocks to minimise the number of values that change if a new one is  added halfway through }    { Pseudo-information on a cert object or meta-information which is used  to control the way that a cert object is processed }  CRYPT_CERTINFO_SELFSIGNED = 2001;  { Cert is self-signed }  CRYPT_CERTINFO_IMMUTABLE = 2002;  { Cert is signed and immutable }  CRYPT_CERTINFO_XYZZY = 2003;  { Cert is a magic just-works cert }  CRYPT_CERTINFO_CERTTYPE = 2004;  { Certificate object type }  CRYPT_CERTINFO_FINGERPRINT = 2005;  { Certificate fingerprints }  CRYPT_CERTINFO_FINGERPRINT_MD5 = 2005; { = CRYPT_CERTINFO_FINGERPRINT }    CRYPT_CERTINFO_FINGERPRINT_SHA = 2006;    CRYPT_CERTINFO_CURRENT_CERTIFICATE = 2007;  { Cursor mgt: Rel.pos in chain/CRL/OCSP }  CRYPT_CERTINFO_TRUSTED_USAGE = 2008;  { Usage that cert is trusted for }  CRYPT_CERTINFO_TRUSTED_IMPLICIT = 2009;  { Whether cert is implicitly trusted }  CRYPT_CERTINFO_SIGNATURELEVEL = 2010;  { Amount of detail to include in sigs.}    { General certificate object information }  CRYPT_CERTINFO_VERSION = 2011;  { Cert.format version }  CRYPT_CERTINFO_SERIALNUMBER = 2012;  { Serial number }  CRYPT_CERTINFO_SUBJECTPUBLICKEYINFO = 2013;  { Public key }  CRYPT_CERTINFO_CERTIFICATE = 2014;  { User certificate }  CRYPT_CERTINFO_USERCERTIFICATE = 2014; { = CRYPT_CERTINFO_CERTIFICATE }    CRYPT_CERTINFO_CACERTIFICATE = 2015;  { CA certificate }  CRYPT_CERTINFO_ISSUERNAME = 2016;  { Issuer DN }  CRYPT_CERTINFO_VALIDFROM = 2017;  { Cert valid-from time }  CRYPT_CERTINFO_VALIDTO = 2018;  { Cert valid-to time }  CRYPT_CERTINFO_SUBJECTNAME = 2019;  { Subject DN }  CRYPT_CERTINFO_ISSUERUNIQUEID = 2020;  { Issuer unique ID }  CRYPT_CERTINFO_SUBJECTUNIQUEID = 2021;  { Subject unique ID }  CRYPT_CERTINFO_CERTREQUEST = 2022;  { Cert.request (DN + public key) }  CRYPT_CERTINFO_THISUPDATE = 2023;  { CRL/OCSP current-update time }  CRYPT_CERTINFO_NEXTUPDATE = 2024;  { CRL/OCSP next-update time }  CRYPT_CERTINFO_REVOCATIONDATE = 2025;  { CRL/OCSP cert-revocation time }  CRYPT_CERTINFO_REVOCATIONSTATUS = 2026;  { OCSP revocation status }  CRYPT_CERTINFO_CERTSTATUS = 2027;  { RTCS certificate status }  CRYPT_CERTINFO_DN = 2028;  { Currently selected DN in string form }  CRYPT_CERTINFO_PKIUSER_ID = 2029;  { PKI user ID }  CRYPT_CERTINFO_PKIUSER_ISSUEPASSWORD = 2030;  { PKI user issue password }  CRYPT_CERTINFO_PKIUSER_REVPASSWORD = 2031;  { PKI user revocation password }    { X.520 Distinguished Name components.  This is a composite field, the  DN to be manipulated is selected through the addition of a  pseudocomponent, and then one of the following is used to access the  DN components directly }  CRYPT_CERTINFO_COUNTRYNAME = 2100;  { countryName }  CRYPT_CERTINFO_STATEORPROVINCENAME = 2101;  { stateOrProvinceName }  CRYPT_CERTINFO_LOCALITYNAME = 2102;  { localityName }  CRYPT_CERTINFO_ORGANIZATIONNAME = 2103;  { organizationName }  CRYPT_CERTINFO_ORGANISATIONNAME = 2103; { = CRYPT_CERTINFO_ORGANIZATIONNAME }    CRYPT_CERTINFO_ORGANIZATIONALUNITNAME = 2104;  { organizationalUnitName }  CRYPT_CERTINFO_ORGANISATIONALUNITNAME = 2104; { = CRYPT_CERTINFO_ORGANIZATIONALUNITNAME }    CRYPT_CERTINFO_COMMONNAME = 2105;  { commonName }    { X.509 General Name components.  These are handled in the same way as  the DN composite field, with the current GeneralName being selected by  a pseudo-component after which the individual components can be  modified through one of the following }  CRYPT_CERTINFO_OTHERNAME_TYPEID = 2106;  { otherName.typeID }  CRYPT_CERTINFO_OTHERNAME_VALUE = 2107;  { otherName.value }  CRYPT_CERTINFO_RFC822NAME = 2108;  { rfc822Name }  CRYPT_CERTINFO_EMAIL = 2108; { = CRYPT_CERTINFO_RFC822NAME }    CRYPT_CERTINFO_DNSNAME = 2109;  { dNSName }  CRYPT_CERTINFO_DIRECTORYNAME = 2110;  { directoryName }  CRYPT_CERTINFO_EDIPARTYNAME_NAMEASSIGNER = 2111;  { ediPartyName.nameAssigner }  CRYPT_CERTINFO_EDIPARTYNAME_PARTYNAME = 2112;  { ediPartyName.partyName }  CRYPT_CERTINFO_UNIFORMRESOURCEIDENTIFIER = 2113;  { uniformResourceIdentifier }  CRYPT_CERTINFO_IPADDRESS = 2114;  { iPAddress }  CRYPT_CERTINFO_REGISTEREDID = 2115;  { registeredID }    { X.509 certificate extensions.  Although it would be nicer to use names  that match the extensions more closely (e.g.  CRYPT_CERTINFO_BASICCONSTRAINTS_PATHLENCONSTRAINT), these exceed the  32-character ANSI minimum length for unique names, and get really  hairy once you get into the weird policy constraints extensions whose  names wrap around the screen about three times.    The following values are defined in OID order, this isn't absolutely  necessary but saves an extra layer of processing when encoding them }    { 1 2 840 113549 1 9 7 challengePassword.  This is here even though it's  a CMS attribute because SCEP stuffs it into PKCS #10 requests }  CRYPT_CERTINFO_CHALLENGEPASSWORD = 2200;      { 1 3 6 1 4 1 3029 3 1 4 cRLExtReason }  CRYPT_CERTINFO_CRLEXTREASON = 2201;      { 1 3 6 1 4 1 3029 3 1 5 keyFeatures }  CRYPT_CERTINFO_KEYFEATURES = 2202;      { 1 3 6 1 5 5 7 1 1 authorityInfoAccess }  CRYPT_CERTINFO_AUTHORITYINFOACCESS = 2203;    CRYPT_CERTINFO_AUTHORITYINFO_RTCS = 2204;  { accessDescription.accessLocation }  CRYPT_CERTINFO_AUTHORITYINFO_OCSP = 2205;  { accessDescription.accessLocation }  CRYPT_CERTINFO_AUTHORITYINFO_CAISSUERS = 2206;  { accessDescription.accessLocation }  CRYPT_CERTINFO_AUTHORITYINFO_CERTSTORE = 2207;  { accessDescription.accessLocation }  CRYPT_CERTINFO_AUTHORITYINFO_CRLS = 2208;  { accessDescription.accessLocation }    { 1 3 6 1 5 5 7 1 2 biometricInfo }  CRYPT_CERTINFO_BIOMETRICINFO = 2209;    CRYPT_CERTINFO_BIOMETRICINFO_TYPE = 2210;  { biometricData.typeOfData }  CRYPT_CERTINFO_BIOMETRICINFO_HASHALGO = 2211;  { biometricData.hashAlgorithm }  CRYPT_CERTINFO_BIOMETRICINFO_HASH = 2212;  { biometricData.dataHash }  CRYPT_CERTINFO_BIOMETRICINFO_URL = 2213;  { biometricData.sourceDataUri }    { 1 3 6 1 5 5 7 1 3 qcStatements }  CRYPT_CERTINFO_QCSTATEMENT = 2214;    CRYPT_CERTINFO_QCSTATEMENT_SEMANTICS = 2215;    { qcStatement.statementInfo.semanticsIdentifier }  CRYPT_CERTINFO_QCSTATEMENT_REGISTRATIONAUTHORITY = 2216;    { qcStatement.statementInfo.nameRegistrationAuthorities }    { 1 3 6 1 5 5 7 48 1 2 ocspNonce }  CRYPT_CERTINFO_OCSP_NONCE = 2217;  { nonce }    { 1 3 6 1 5 5 7 48 1 4 ocspAcceptableResponses }  CRYPT_CERTINFO_OCSP_RESPONSE = 2218;    CRYPT_CERTINFO_OCSP_RESPONSE_OCSP = 2219;  { OCSP standard response }    { 1 3 6 1 5 5 7 48 1 5 ocspNoCheck }  CRYPT_CERTINFO_OCSP_NOCHECK = 2220;      { 1 3 6 1 5 5 7 48 1 6 ocspArchiveCutoff }  CRYPT_CERTINFO_OCSP_ARCHIVECUTOFF = 2221;      { 1 3 6 1 5 5 7 48 1 11 subjectInfoAccess }  CRYPT_CERTINFO_SUBJECTINFOACCESS = 2222;    CRYPT_CERTINFO_SUBJECTINFO_CAREPOSITORY = 2223;  { accessDescription.accessLocation }  CRYPT_CERTINFO_SUBJECTINFO_TIMESTAMPING = 2224;  { accessDescription.accessLocation }    { 1 3 36 8 3 1 siggDateOfCertGen }  CRYPT_CERTINFO_SIGG_DATEOFCERTGEN = 2225;      { 1 3 36 8 3 2 siggProcuration }  CRYPT_CERTINFO_SIGG_PROCURATION = 2226;    CRYPT_CERTINFO_SIGG_PROCURE_COUNTRY = 2227;  { country }  CRYPT_CERTINFO_SIGG_PROCURE_TYPEOFSUBSTITUTION = 2228;  { typeOfSubstitution }  CRYPT_CERTINFO_SIGG_PROCURE_SIGNINGFOR = 2229;  { signingFor.thirdPerson }    { 1 3 36 8 3 4 siggMonetaryLimit }  CRYPT_CERTINFO_SIGG_MONETARYLIMIT = 2230;    CRYPT_CERTINFO_SIGG_MONETARY_CURRENCY = 2231;  { currency }  CRYPT_CERTINFO_SIGG_MONETARY_AMOUNT = 2232;  { amount }  CRYPT_CERTINFO_SIGG_MONETARY_EXPONENT = 2233;  { exponent }    { 1 3 36 8 3 8 siggRestriction }  CRYPT_CERTINFO_SIGG_RESTRICTION = 2234;      { 1 3 101 1 4 1 strongExtranet }  CRYPT_CERTINFO_STRONGEXTRANET = 2235;    CRYPT_CERTINFO_STRONGEXTRANET_ZONE = 2236;  { sxNetIDList.sxNetID.zone }  CRYPT_CERTINFO_STRONGEXTRANET_ID = 2237;  { sxNetIDList.sxNetID.id }    { 2 5 29 9 subjectDirectoryAttributes }  CRYPT_CERTINFO_SUBJECTDIRECTORYATTRIBUTES = 2238;    CRYPT_CERTINFO_SUBJECTDIR_TYPE = 2239;  { attribute.type }  CRYPT_CERTINFO_SUBJECTDIR_VALUES = 2240;  { attribute.values }    { 2 5 29 14 subjectKeyIdentifier }  CRYPT_CERTINFO_SUBJECTKEYIDENTIFIER = 2241;      { 2 5 29 15 keyUsage }  CRYPT_CERTINFO_KEYUSAGE = 2242;      { 2 5 29 16 privateKeyUsagePeriod }  CRYPT_CERTINFO_PRIVATEKEYUSAGEPERIOD = 2243;    CRYPT_CERTINFO_PRIVATEKEY_NOTBEFORE = 2244;  { notBefore }  CRYPT_CERTINFO_PRIVATEKEY_NOTAFTER = 2245;  { notAfter }    { 2 5 29 17 subjectAltName }  CRYPT_CERTINFO_SUBJECTALTNAME = 2246;      { 2 5 29 18 issuerAltName }  CRYPT_CERTINFO_ISSUERALTNAME = 2247;      { 2 5 29 19 basicConstraints }  CRYPT_CERTINFO_BASICCONSTRAINTS = 2248;    CRYPT_CERTINFO_CA = 2249;  { cA }  CRYPT_CERTINFO_AUTHORITY = 2249; { = CRYPT_CERTINFO_CA }    CRYPT_CERTINFO_PATHLENCONSTRAINT = 2250;  { pathLenConstraint }    { 2 5 29 20 cRLNumber }  CRYPT_CERTINFO_CRLNUMBER = 2251;      { 2 5 29 21 cRLReason }  CRYPT_CERTINFO_CRLREASON = 2252;      { 2 5 29 23 holdInstructionCode }  CRYPT_CERTINFO_HOLDINSTRUCTIONCODE = 2253;      { 2 5 29 24 invalidityDate }  CRYPT_CERTINFO_INVALIDITYDATE = 2254;      { 2 5 29 27 deltaCRLIndicator }  CRYPT_CERTINFO_DELTACRLINDICATOR = 2255;      { 2 5 29 28 issuingDistributionPoint }  CRYPT_CERTINFO_ISSUINGDISTRIBUTIONPOINT = 2256;    CRYPT_CERTINFO_ISSUINGDIST_FULLNAME = 2257;  { distributionPointName.fullName }  CRYPT_CERTINFO_ISSUINGDIST_USERCERTSONLY = 2258;  { onlyContainsUserCerts }  CRYPT_CERTINFO_ISSUINGDIST_CACERTSONLY = 2259;  { onlyContainsCACerts }  CRYPT_CERTINFO_ISSUINGDIST_SOMEREASONSONLY = 2260;  { onlySomeReasons }  CRYPT_CERTINFO_ISSUINGDIST_INDIRECTCRL = 2261;  { indirectCRL }    { 2 5 29 29 certificateIssuer }  CRYPT_CERTINFO_CERTIFICATEISSUER = 2262;      { 2 5 29 30 nameConstraints }  CRYPT_CERTINFO_NAMECONSTRAINTS = 2263;    CRYPT_CERTINFO_PERMITTEDSUBTREES = 2264;  { permittedSubtrees }  CRYPT_CERTINFO_EXCLUDEDSUBTREES = 2265;  { excludedSubtrees }    { 2 5 29 31 cRLDistributionPoint }  CRYPT_CERTINFO_CRLDISTRIBUTIONPOINT = 2266;    CRYPT_CERTINFO_CRLDIST_FULLNAME = 2267;  { distributionPointName.fullName }  CRYPT_CERTINFO_CRLDIST_REASONS = 2268;  { reasons }  CRYPT_CERTINFO_CRLDIST_CRLISSUER = 2269;  { cRLIssuer }    { 2 5 29 32 certificatePolicies }  CRYPT_CERTINFO_CERTIFICATEPOLICIES = 2270;  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -