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

📄 cryptlib.cs

📁 cryptlib安全工具包
💻 CS
📖 第 1 页 / 共 5 页
字号:
	public const int OPTION_ENCR_ALGO                            = 106 ; // Encryption algorithm	public const int OPTION_ENCR_HASH                            = 107 ; // Hash algorithm	public const int OPTION_ENCR_MAC                             = 108 ; // MAC algorithm	public const int OPTION_PKC_ALGO                             = 109 ; // Public-key encryption algorithm	public const int OPTION_PKC_KEYSIZE                          = 110 ; // Public-key encryption key size	public const int OPTION_SIG_ALGO                             = 111 ; // Signature algorithm	public const int OPTION_SIG_KEYSIZE                          = 112 ; // Signature keysize	public const int OPTION_KEYING_ALGO                          = 113 ; // Key processing algorithm	public const int OPTION_KEYING_ITERATIONS                    = 114 ; // Key processing iterations	public const int OPTION_CERT_SIGNUNRECOGNISEDATTRIBUTES      = 115 ; // Whether to sign unrecog.attrs	public const int OPTION_CERT_VALIDITY                        = 116 ; // Certificate validity period	public const int OPTION_CERT_UPDATEINTERVAL                  = 117 ; // CRL update interval	public const int OPTION_CERT_COMPLIANCELEVEL                 = 118 ; // PKIX compliance level for cert chks.	public const int OPTION_CERT_REQUIREPOLICY                   = 119 ; // Whether explicit policy req'd for certs	public const int OPTION_CMS_DEFAULTATTRIBUTES                = 120 ; // Add default CMS attributes	public const int OPTION_SMIME_DEFAULTATTRIBUTES              = 120 ; // LDAP keyset options	public const int OPTION_KEYS_LDAP_OBJECTCLASS                = 121 ; // Object class	public const int OPTION_KEYS_LDAP_OBJECTTYPE                 = 122 ; // Object type to fetch	public const int OPTION_KEYS_LDAP_FILTER                     = 123 ; // Query filter	public const int OPTION_KEYS_LDAP_CACERTNAME                 = 124 ; // CA certificate attribute name	public const int OPTION_KEYS_LDAP_CERTNAME                   = 125 ; // Certificate attribute name	public const int OPTION_KEYS_LDAP_CRLNAME                    = 126 ; // CRL attribute name	public const int OPTION_KEYS_LDAP_EMAILNAME                  = 127 ; // Email attribute name	public const int OPTION_DEVICE_PKCS11_DVR01                  = 128 ; // Name of first PKCS #11 driver	public const int OPTION_DEVICE_PKCS11_DVR02                  = 129 ; // Name of second PKCS #11 driver	public const int OPTION_DEVICE_PKCS11_DVR03                  = 130 ; // Name of third PKCS #11 driver	public const int OPTION_DEVICE_PKCS11_DVR04                  = 131 ; // Name of fourth PKCS #11 driver	public const int OPTION_DEVICE_PKCS11_DVR05                  = 132 ; // Name of fifth PKCS #11 driver	public const int OPTION_DEVICE_PKCS11_HARDWAREONLY           = 133 ; // Use only hardware mechanisms	public const int OPTION_NET_SOCKS_SERVER                     = 134 ; // Socks server name	public const int OPTION_NET_SOCKS_USERNAME                   = 135 ; // Socks user name	public const int OPTION_NET_HTTP_PROXY                       = 136 ; // Web proxy server	public const int OPTION_NET_CONNECTTIMEOUT                   = 137 ; // Timeout for network connection setup	public const int OPTION_NET_READTIMEOUT                      = 138 ; // Timeout for network reads	public const int OPTION_NET_WRITETIMEOUT                     = 139 ; // Timeout for network writes	public const int OPTION_MISC_ASYNCINIT                       = 140 ; // Whether to init cryptlib async'ly	public const int OPTION_MISC_SIDECHANNELPROTECTION           = 141 ; // Protect against side-channel attacks	public const int OPTION_CONFIGCHANGED                        = 142 ; // Whether in-mem.opts match on-disk ones	public const int OPTION_SELFTESTOK                           = 143 ; // Whether self-test was completed and OK	public const int OPTION_LAST                                 = 144 ;	public const int CTXINFO_FIRST                               = 1000; // ********************	public const int CTXINFO_ALGO                                = 1001; // Algorithm	public const int CTXINFO_MODE                                = 1002; // Mode	public const int CTXINFO_NAME_ALGO                           = 1003; // Algorithm name	public const int CTXINFO_NAME_MODE                           = 1004; // Mode name	public const int CTXINFO_KEYSIZE                             = 1005; // Key size in bytes	public const int CTXINFO_BLOCKSIZE                           = 1006; // Block size	public const int CTXINFO_IVSIZE                              = 1007; // IV size	public const int CTXINFO_KEYING_ALGO                         = 1008; // Key processing algorithm	public const int CTXINFO_KEYING_ITERATIONS                   = 1009; // Key processing iterations	public const int CTXINFO_KEYING_SALT                         = 1010; // Key processing salt	public const int CTXINFO_KEYING_VALUE                        = 1011; // Value used to derive key	public const int CTXINFO_KEY                                 = 1012; // Key	public const int CTXINFO_KEY_COMPONENTS                      = 1013; // Public-key components	public const int CTXINFO_IV                                  = 1014; // IV	public const int CTXINFO_HASHVALUE                           = 1015; // Hash value	public const int CTXINFO_LABEL                               = 1016; // Label for private/secret key	public const int CTXINFO_PERSISTENT                          = 1017; // Obj.is backed by device or keyset	public const int CTXINFO_LAST                                = 1018;	public const int CERTINFO_FIRST                              = 2000; // ************************	public const int CERTINFO_SELFSIGNED                         = 2001; // Cert is self-signed	public const int CERTINFO_IMMUTABLE                          = 2002; // Cert is signed and immutable	public const int CERTINFO_XYZZY                              = 2003; // Cert is a magic just-works cert	public const int CERTINFO_CERTTYPE                           = 2004; // Certificate object type	public const int CERTINFO_FINGERPRINT                        = 2005; // Certificate fingerprints	public const int CERTINFO_FINGERPRINT_MD5                    = 2005;	public const int CERTINFO_FINGERPRINT_SHA                    = 2006;	public const int CERTINFO_CURRENT_CERTIFICATE                = 2007; // Cursor mgt: Rel.pos in chain/CRL/OCSP	public const int CERTINFO_TRUSTED_USAGE                      = 2008; // Usage that cert is trusted for	public const int CERTINFO_TRUSTED_IMPLICIT                   = 2009; // Whether cert is implicitly trusted	public const int CERTINFO_SIGNATURELEVEL                     = 2010; // Amount of detail to include in sigs.	public const int CERTINFO_VERSION                            = 2011; // Cert.format version	public const int CERTINFO_SERIALNUMBER                       = 2012; // Serial number	public const int CERTINFO_SUBJECTPUBLICKEYINFO               = 2013; // Public key	public const int CERTINFO_CERTIFICATE                        = 2014; // User certificate	public const int CERTINFO_USERCERTIFICATE                    = 2014;	public const int CERTINFO_CACERTIFICATE                      = 2015; // CA certificate	public const int CERTINFO_ISSUERNAME                         = 2016; // Issuer DN	public const int CERTINFO_VALIDFROM                          = 2017; // Cert valid-from time	public const int CERTINFO_VALIDTO                            = 2018; // Cert valid-to time	public const int CERTINFO_SUBJECTNAME                        = 2019; // Subject DN	public const int CERTINFO_ISSUERUNIQUEID                     = 2020; // Issuer unique ID	public const int CERTINFO_SUBJECTUNIQUEID                    = 2021; // Subject unique ID	public const int CERTINFO_CERTREQUEST                        = 2022; // Cert.request (DN + public key)	public const int CERTINFO_THISUPDATE                         = 2023; // CRL/OCSP current-update time	public const int CERTINFO_NEXTUPDATE                         = 2024; // CRL/OCSP next-update time	public const int CERTINFO_REVOCATIONDATE                     = 2025; // CRL/OCSP cert-revocation time	public const int CERTINFO_REVOCATIONSTATUS                   = 2026; // OCSP revocation status	public const int CERTINFO_CERTSTATUS                         = 2027; // RTCS certificate status	public const int CERTINFO_DN                                 = 2028; // Currently selected DN in string form	public const int CERTINFO_PKIUSER_ID                         = 2029; // PKI user ID	public const int CERTINFO_PKIUSER_ISSUEPASSWORD              = 2030; // PKI user issue password	public const int CERTINFO_PKIUSER_REVPASSWORD                = 2031; // PKI user revocation password	public const int CERTINFO_COUNTRYNAME                        = 2100; // countryName	public const int CERTINFO_STATEORPROVINCENAME                = 2101; // stateOrProvinceName	public const int CERTINFO_LOCALITYNAME                       = 2102; // localityName	public const int CERTINFO_ORGANIZATIONNAME                   = 2103; // organizationName	public const int CERTINFO_ORGANISATIONNAME                   = 2103;	public const int CERTINFO_ORGANIZATIONALUNITNAME             = 2104; // organizationalUnitName	public const int CERTINFO_ORGANISATIONALUNITNAME             = 2104;	public const int CERTINFO_COMMONNAME                         = 2105; // commonName	public const int CERTINFO_OTHERNAME_TYPEID                   = 2106; // otherName.typeID	public const int CERTINFO_OTHERNAME_VALUE                    = 2107; // otherName.value	public const int CERTINFO_RFC822NAME                         = 2108; // rfc822Name	public const int CERTINFO_EMAIL                              = 2108;	public const int CERTINFO_DNSNAME                            = 2109; // dNSName	public const int CERTINFO_DIRECTORYNAME                      = 2110; // directoryName	public const int CERTINFO_EDIPARTYNAME_NAMEASSIGNER          = 2111; // ediPartyName.nameAssigner	public const int CERTINFO_EDIPARTYNAME_PARTYNAME             = 2112; // ediPartyName.partyName	public const int CERTINFO_UNIFORMRESOURCEIDENTIFIER          = 2113; // uniformResourceIdentifier	public const int CERTINFO_IPADDRESS                          = 2114; // iPAddress	public const int CERTINFO_REGISTEREDID                       = 2115; // registeredID	public const int CERTINFO_CHALLENGEPASSWORD                  = 2200; // 1 3 6 1 4 1 3029 3 1 4 cRLExtReason	public const int CERTINFO_CRLEXTREASON                       = 2201; // 1 3 6 1 4 1 3029 3 1 5 keyFeatures	public const int CERTINFO_KEYFEATURES                        = 2202; // 1 3 6 1 5 5 7 1 1 authorityInfoAccess	public const int CERTINFO_AUTHORITYINFOACCESS                = 2203;	public const int CERTINFO_AUTHORITYINFO_RTCS                 = 2204; // accessDescription.accessLocation	public const int CERTINFO_AUTHORITYINFO_OCSP                 = 2205; // accessDescription.accessLocation	public const int CERTINFO_AUTHORITYINFO_CAISSUERS            = 2206; // accessDescription.accessLocation	public const int CERTINFO_AUTHORITYINFO_CERTSTORE            = 2207; // accessDescription.accessLocation	public const int CERTINFO_AUTHORITYINFO_CRLS                 = 2208; // accessDescription.accessLocation	public const int CERTINFO_BIOMETRICINFO                      = 2209;	public const int CERTINFO_BIOMETRICINFO_TYPE                 = 2210; // biometricData.typeOfData	public const int CERTINFO_BIOMETRICINFO_HASHALGO             = 2211; // biometricData.hashAlgorithm	public const int CERTINFO_BIOMETRICINFO_HASH                 = 2212; // biometricData.dataHash	public const int CERTINFO_BIOMETRICINFO_URL                  = 2213; // biometricData.sourceDataUri	public const int CERTINFO_QCSTATEMENT                        = 2214;	public const int CERTINFO_QCSTATEMENT_SEMANTICS              = 2215; // qcStatement.statementInfo.semanticsIdentifier	public const int CERTINFO_QCSTATEMENT_REGISTRATIONAUTHORITY  = 2216; // qcStatement.statementInfo.nameRegistrationAuthorities	public const int CERTINFO_OCSP_NONCE                         = 2217; // nonce	public const int CERTINFO_OCSP_RESPONSE                      = 2218;	public const int CERTINFO_OCSP_RESPONSE_OCSP                 = 2219; // OCSP standard response	public const int CERTINFO_OCSP_NOCHECK                       = 2220; // 1 3 6 1 5 5 7 48 1 6 ocspArchiveCutoff	public const int CERTINFO_OCSP_ARCHIVECUTOFF                 = 2221; // 1 3 6 1 5 5 7 48 1 11 subjectInfoAccess	public const int CERTINFO_SUBJECTINFOACCESS                  = 2222;	public const int CERTINFO_SUBJECTINFO_CAREPOSITORY           = 2223; // accessDescription.accessLocation	public const int CERTINFO_SUBJECTINFO_TIMESTAMPING           = 2224; // accessDescription.accessLocation	public const int CERTINFO_SIGG_DATEOFCERTGEN                 = 2225; // 1 3 36 8 3 2 siggProcuration	public const int CERTINFO_SIGG_PROCURATION                   = 2226;	public const int CERTINFO_SIGG_PROCURE_COUNTRY               = 2227; // country	public const int CERTINFO_SIGG_PROCURE_TYPEOFSUBSTITUTION    = 2228; // typeOfSubstitution	public const int CERTINFO_SIGG_PROCURE_SIGNINGFOR            = 2229; // signingFor.thirdPerson	public const int CERTINFO_SIGG_MONETARYLIMIT                 = 2230;	public const int CERTINFO_SIGG_MONETARY_CURRENCY             = 2231; // currency	public const int CERTINFO_SIGG_MONETARY_AMOUNT               = 2232; // amount	public const int CERTINFO_SIGG_MONETARY_EXPONENT             = 2233; // exponent	public const int CERTINFO_SIGG_RESTRICTION                   = 2234; // 1 3 101 1 4 1 strongExtranet	public const int CERTINFO_STRONGEXTRANET                     = 2235;	public const int CERTINFO_STRONGEXTRANET_ZONE                = 2236; // sxNetIDList.sxNetID.zone	public const int CERTINFO_STRONGEXTRANET_ID                  = 2237; // sxNetIDList.sxNetID.id	public const int CERTINFO_SUBJECTDIRECTORYATTRIBUTES         = 2238;	public const int CERTINFO_SUBJECTDIR_TYPE                    = 2239; // attribute.type	public const int CERTINFO_SUBJECTDIR_VALUES                  = 2240; // attribute.values	public const int CERTINFO_SUBJECTKEYIDENTIFIER               = 2241; // 2 5 29 15 keyUsage	public const int CERTINFO_KEYUSAGE                           = 2242; // 2 5 29 16 privateKeyUsagePeriod	public const int CERTINFO_PRIVATEKEYUSAGEPERIOD              = 2243;	public const int CERTINFO_PRIVATEKEY_NOTBEFORE               = 2244; // notBefore	public const int CERTINFO_PRIVATEKEY_NOTAFTER                = 2245; // notAfter	public const int CERTINFO_SUBJECTALTNAME                     = 2246; // 2 5 29 18 issuerAltName	public const int CERTINFO_ISSUERALTNAME                      = 2247; // 2 5 29 19 basicConstraints	public const int CERTINFO_BASICCONSTRAINTS                   = 2248;	public const int CERTINFO_CA                                 = 2249; // cA	public const int CERTINFO_AUTHORITY                          = 2249;	public const int CERTINFO_PATHLENCONSTRAINT                  = 2250; // pathLenConstraint	public const int CERTINFO_CRLNUMBER                          = 2251; // 2 5 29 21 cRLReason	public const int CERTINFO_CRLREASON                          = 2252; // 2 5 29 23 holdInstructionCode	public const int CERTINFO_HOLDINSTRUCTIONCODE                = 2253; // 2 5 29 24 invalidityDate	public const int CERTINFO_INVALIDITYDATE                     = 2254; // 2 5 29 27 deltaCRLIndicator	public const int CERTINFO_DELTACRLINDICATOR                  = 2255; // 2 5 29 28 issuingDistributionPoint	public const int CERTINFO_ISSUINGDISTRIBUTIONPOINT           = 2256;	public const int CERTINFO_ISSUINGDIST_FULLNAME               = 2257; // distributionPointName.fullName	public const int CERTINFO_ISSUINGDIST_USERCERTSONLY          = 2258; // onlyContainsUserCerts	public const int CERTINFO_ISSUINGDIST_CACERTSONLY            = 2259; // onlyContainsCACerts	public const int CERTINFO_ISSUINGDIST_SOMEREASONSONLY        = 2260; // onlySomeReasons	public const int CERTINFO_ISSUINGDIST_INDIRECTCRL            = 2261; // indirectCRL	public const int CERTINFO_CERTIFICATEISSUER                  = 2262; // 2 5 29 30 nameConstraints	public const int CERTINFO_NAMECONSTRAINTS                    = 2263;	public const int CERTINFO_PERMITTEDSUBTREES                  = 2264; // permittedSubtrees	public const int CERTINFO_EXCLUDEDSUBTREES                   = 2265; // excludedSubtrees	public const int CERTINFO_CRLDISTRIBUTIONPOINT               = 2266;	public const int CERTINFO_CRLDIST_FULLNAME                   = 2267; // distributionPointName.fullName	public const int CERTINFO_CRLDIST_REASONS                    = 2268; // reasons	public const int CERTINFO_CRLDIST_CRLISSUER                  = 2269; // cRLIssuer	public const int CERTINFO_CERTIFICATEPOLICIES                = 2270;	public const int CERTINFO_CERTPOLICYID                       = 2271; // policyInformation.policyIdentifier	public const int CERTINFO_CERTPOLICY_CPSURI                  = 2272; // policyInformation.policyQualifiers.qualifier.cPSuri	public const int CERTINFO_CERTPOLICY_ORGANIZATION            = 2273; // policyInformation.policyQualifiers.qualifier.userNotice.noticeRef.organization	public const int CERTINFO_CERTPOLICY_NOTICENUMBERS           = 2274; // policyInformation.policyQualifiers.qualifier.userNotice.noticeRef.noticeNumbers	public const int CERTINFO_CERTPOLICY_EXPLICITTEXT            = 2275; // policyInformation.policyQualifiers.qualifier.userNotice.explicitText	public const int CERTINFO_POLICYMAPPINGS                     = 2276;	public const int CERTINFO_ISSUERDOMAINPOLICY                 = 2277; // policyMappings.issuerDomainPolicy	public const int CERTINFO_SUBJECTDOMAINPOLICY                = 2278; // policyMappings.subjectDomainPolicy	public const int CERTINFO_AUTHORITYKEYIDENTIFIER             = 2279;	public const int CERTINFO_AUTHORITY_KEYIDENTIFIER            = 2280; // keyIdentifier	public const int CERTINFO_AUTHORITY_CERTISSUER               = 2281; // authorityCertIssuer	public const int CERTINFO_AUTHORITY_CERTSERIALNUMBER         = 2282; // authorityCertSerialNumber

⌨️ 快捷键说明

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