Package com.sun.jna.platform.win32
Interface WinCrypt
- 
 public interface WinCryptPorted from WinCrypt.h. Microsoft Windows SDK 6.0A.- Author:
- dblock[at]dblock.org
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classWinCrypt.CERT_CHAIN_CONTEXTThe CERT_CHAIN_CONTEXT structure contains an array of simple certificate chains and a trust status structure that indicates summary validity data on all of the connected simple chains.static classWinCrypt.CERT_CHAIN_ELEMENTThe CERT_CHAIN_ELEMENT structure is a single element in a simple certificate chain.static classWinCrypt.CERT_CHAIN_PARAThe CERT_CHAIN_PARA structure establishes the searching and matching criteria to be used in building a certificate chain.static classWinCrypt.CERT_CHAIN_POLICY_PARAThe CERT_CHAIN_POLICY_PARA structure contains information used in CertVerifyCertificateChainPolicy to establish policy criteria for the verification of certificate chains.static classWinCrypt.CERT_CHAIN_POLICY_STATUSThe CERT_CHAIN_POLICY_STATUS structure holds certificate chain status information returned by the CertVerifyCertificateChainPolicy function when the certificate chains are validated.static classWinCrypt.CERT_CONTEXTThe CERT_CONTEXT structure contains both the encoded and decoded representations of a certificate.static classWinCrypt.CERT_EXTENSIONThe CERT_EXTENSION structure contains the extension information for a certificate, Certificate Revocation List (CRL) or Certificate Trust List (CTL).static classWinCrypt.CERT_EXTENSIONSThe CERT_EXTENSIONS structure contains an array of extensions.static classWinCrypt.CERT_INFOThe CERT_INFO structure contains the information of a certificate.static classWinCrypt.CERT_PUBLIC_KEY_INFOThe CERT_PUBLIC_KEY_INFO structure contains a public key and its algorithm.static classWinCrypt.CERT_REVOCATION_CRL_INFOContains information updated by a certificate revocation list (CRL) revocation type handler.static classWinCrypt.CERT_REVOCATION_INFOThe CERT_REVOCATION_INFO structure indicates the revocation status of a certificate in a CERT_CHAIN_ELEMENT.static classWinCrypt.CERT_SIMPLE_CHAINThe CERT_SIMPLE_CHAIN structure contains an array of chain elements and a summary trust status for the chain that the array represents.static classWinCrypt.CERT_STRONG_SIGN_PARAContains parameters used to check for strong signatures on certificates, certificate revocation lists (CRLs), online certificate status protocol (OCSP) responses, and PKCS #7 messages.static classWinCrypt.CERT_STRONG_SIGN_SERIALIZED_INFOContains the signature algorithm/hash algorithm and public key algorithm/bit length pairs that can be used for strong signing.static classWinCrypt.CERT_TRUST_LIST_INFOThe CERT_TRUST_LIST_INFO structure that indicates valid usage of a CTL.static classWinCrypt.CERT_TRUST_STATUSThe CERT_TRUST_STATUS structure contains trust information about a certificate in a certificate chain, summary trust information about a simple chain of certificates, or summary information about an array of simple chains.static classWinCrypt.CERT_USAGE_MATCHThe CERT_USAGE_MATCH structure provides criteria for identifying issuer certificates to be used to build a certificate chain.static classWinCrypt.CRL_CONTEXTThe CRL_CONTEXT structure contains both the encoded and decoded representations of a certificate revocation list (CRL).static classWinCrypt.CRL_ENTRYThe CRL_ENTRY structure contains information about a single revoked certificate.static classWinCrypt.CRL_INFOThe CRL_INFO structure contains the information of a certificate revocation list (CRL).static classWinCrypt.CRYPT_ALGORITHM_IDENTIFIERThe CRYPT_ALGORITHM_IDENTIFIER structure specifies an algorithm used to encrypt a private key.static classWinCrypt.CRYPT_ATTRIBUTEThe CRYPT_ATTRIBUTE structure specifies an attribute that has one or more values.static classWinCrypt.CRYPT_BIT_BLOBThe CRYPT_BIT_BLOB structure contains a set of bits represented by an array of bytes.static classWinCrypt.CRYPT_KEY_PROV_INFOThe CRYPT_KEY_PROV_INFO structure contains information about a key container within a cryptographic service provider (CSP).static classWinCrypt.CRYPT_KEY_PROV_PARAMThe CRYPT_KEY_PROV_PARAM structure contains information about a key container parameter.static classWinCrypt.CRYPT_SIGN_MESSAGE_PARAThe CRYPT_SIGN_MESSAGE_PARA structure contains information for signing messages using a specified signing certificate context.static classWinCrypt.CRYPT_VERIFY_MESSAGE_PARAThe CRYPT_VERIFY_MESSAGE_PARA structure contains information needed to verify signed messages.static interfaceWinCrypt.CryptGetSignerCertificateCallbackThe CryptGetSignerCertificateCallback user supplied callback function is used with the CRYPT_VERIFY_MESSAGE_PARA structure to get and verify a message signer's certificate.static classWinCrypt.CRYPTPROTECT_PROMPTSTRUCTThe CRYPTPROTECT_PROMPTSTRUCT structure provides the text of a prompt and information about when and where that prompt is to be displayed when using the CryptProtectData and CryptUnprotectData functions.static classWinCrypt.CTL_CONTEXTThe CTL_CONTEXT structure contains both the encoded and decoded representations of a CTL.static classWinCrypt.CTL_ENTRYThe CTL_ENTRY structure is an element of a certificate trust list (CTL).static classWinCrypt.CTL_INFOThe CTL_INFO structure contains the information stored in a Certificate Trust List (CTL).static classWinCrypt.CTL_USAGEThe CTL_USAGE structure contains an array of object identifiers (OIDs) for Certificate Trust List (CTL) extensions.static classWinCrypt.DATA_BLOBThe CryptoAPI CRYPTOAPI_BLOB structure is used for an arbitrary array of bytes.static classWinCrypt.HCERTCHAINENGINEHandle to a certificate chain engine.static classWinCrypt.HCERTSTOREHandle to a certificate store.static classWinCrypt.HCRYPTMSGHandle to a cryptographic message.static classWinCrypt.HCRYPTPROV_LEGACY
 - 
Field SummaryFields Modifier and Type Field Description static intCERT_CHAIN_POLICY_BASEPredefined verify chain policies.static intCERT_CLOSE_STORE_CHECK_FLAGForces the freeing of memory for all contexts associated with the store.static intCERT_CLOSE_STORE_FORCE_FLAGChecks for nonfreed certificate, CRL, and CTL contexts.static intCERT_COMPARE_NAME_STR_WCertificate comparison functions.static intCERT_COMPARE_SHIFTCertificate comparison functions.static intCERT_FIND_SUBJECT_STRCertificate comparison functions.static intCERT_FIND_SUBJECT_STR_WCertificate comparison functions.static intCERT_INFO_SUBJECT_FLAGCertificate comparison functions.static intCERT_OID_NAME_STRCertificate name string type.static intCERT_QUERY_CONTENT_CERTencoded single certificatestatic intCERT_QUERY_CONTENT_CERT_PAIRan encoded CertificatePair (contains forward and/or reverse cross certs)static intCERT_QUERY_CONTENT_CRLencoded single CRLstatic intCERT_QUERY_CONTENT_CTLencoded single CTLstatic intCERT_QUERY_CONTENT_FLAG_ALLcontent can be any typestatic intCERT_QUERY_CONTENT_FLAG_CERTencoded single certificatestatic intCERT_QUERY_CONTENT_FLAG_CERT_PAIRan encoded CertificatePair (contains forward and/or reverse cross certs)static intCERT_QUERY_CONTENT_FLAG_CRLencoded single CRLstatic intCERT_QUERY_CONTENT_FLAG_CTLencoded single CTLstatic intCERT_QUERY_CONTENT_FLAG_PFXan encoded PFX BLOBstatic intCERT_QUERY_CONTENT_FLAG_PFX_AND_LOADan encoded PFX BLOB, and we do want to load it (not included inCERT_QUERY_CONTENT_FLAG_ALLstatic intCERT_QUERY_CONTENT_FLAG_PKCS10an encoded PKCS#10static intCERT_QUERY_CONTENT_FLAG_PKCS7_SIGNEDan encoded PKCS#7 signed messagestatic intCERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBEDthe content includes an embedded PKCS7 signed messagestatic intCERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNEDan encoded PKCS#7 message.static intCERT_QUERY_CONTENT_FLAG_SERIALIZED_CERTserialized single certificatestatic intCERT_QUERY_CONTENT_FLAG_SERIALIZED_CRLserialized single CRLstatic intCERT_QUERY_CONTENT_FLAG_SERIALIZED_CTLserialized single CTLstatic intCERT_QUERY_CONTENT_FLAG_SERIALIZED_STOREserialized storestatic intCERT_QUERY_CONTENT_PFXan encoded PFX BLOBstatic intCERT_QUERY_CONTENT_PFX_AND_LOADan encoded PFX BLOB, which was loaded to phCertStorestatic intCERT_QUERY_CONTENT_PKCS10an encoded PKCS#10static intCERT_QUERY_CONTENT_PKCS7_SIGNEDa PKCS#7 signed messagestatic intCERT_QUERY_CONTENT_PKCS7_SIGNED_EMBEDa PKCS7 signed message embedded in a filestatic intCERT_QUERY_CONTENT_PKCS7_UNSIGNEDa PKCS#7 message, such as enveloped message.static intCERT_QUERY_CONTENT_SERIALIZED_CERTserialized single certificatestatic intCERT_QUERY_CONTENT_SERIALIZED_CRLserialized single CRLstatic intCERT_QUERY_CONTENT_SERIALIZED_CTLserialized single CTLstatic intCERT_QUERY_CONTENT_SERIALIZED_STOREserialized storestatic intCERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODEDthe content is ascii hex encoded with "{ASN}" prefixstatic intCERT_QUERY_FORMAT_BASE64_ENCODEDthe content is base64 encodedstatic intCERT_QUERY_FORMAT_BINARYthe content is in binary formatstatic intCERT_QUERY_FORMAT_FLAG_ALLthe content can be of any formatstatic intCERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODEDthe content is ascii hex encoded with "{ASN}" prefixstatic intCERT_QUERY_FORMAT_FLAG_BASE64_ENCODEDthe content is base64 encodedstatic intCERT_QUERY_FORMAT_FLAG_BINARYthe content is in binary formatstatic intCERT_QUERY_OBJECT_BLOBThe object is stored in a structure in memory.static intCERT_QUERY_OBJECT_FILEThe object is stored in a file.static intCERT_SIMPLE_NAME_STRCertificate name string type.static intCERT_X500_NAME_STRCertificate name string type.static intCERT_XML_NAME_STRCertificate name string type.static intCRYPT_ASN_ENCODINGMessage Encoding Type.static intCRYPT_E_ASN1_BADARGSASN.1 bad arguments to function callstatic intCRYPT_E_ASN1_BADPDUASN.1 function not supported for this PDUstatic intCRYPT_E_ASN1_BADREALASN.1 bad real valuestatic intCRYPT_E_ASN1_BADTAGASN.1 bad tag value metstatic intCRYPT_E_ASN1_CHOICEASN.1 bad choice valuestatic intCRYPT_E_ASN1_CONSTRAINTASN.1 constraint violatedstatic intCRYPT_E_ASN1_CORRUPTASN.1 corrupted datastatic intCRYPT_E_ASN1_EODASN.1 unexpected end of datastatic intCRYPT_E_ASN1_ERRORASN.1 Certificate encode/decode return value basestatic intCRYPT_E_ASN1_EXTENDEDASN.1 skipped unknown extensionsstatic intCRYPT_E_ASN1_INTERNALASN.1 internal encode or decode errorstatic intCRYPT_E_ASN1_LARGEASN.1 value too largestatic intCRYPT_E_ASN1_MEMORYASN.1 out of memorystatic intCRYPT_E_ASN1_NOEODASN.1 end of data expectedstatic intCRYPT_E_ASN1_NYIASN.1 not yet implementedstatic intCRYPT_E_ASN1_OVERFLOWASN.1 buffer overflowstatic intCRYPT_E_ASN1_PDU_TYPEASN.1 bad PDU typestatic intCRYPT_E_ASN1_RULEASN.1 bad encoding rulestatic intCRYPT_E_ASN1_UTF8ASN.1 bad Unicode (UTF8)static intCRYPT_EXPORTABLEImported keys are marked as exportable.static intCRYPT_MACHINE_KEYSETThe private keys are stored under the local computer and not under the current user.static intCRYPT_NDR_ENCODINGMessage Encoding Type.static intCRYPT_USER_KEYSETThe private keys are stored under the current user and not under the local computer even if the PFX BLOB specifies that they should go into the local computer.static intCRYPT_USER_PROTECTEDThe user is to be notified through a dialog box or other method when certain attempts to use this key are made.static intCRYPTPROTECT_AUDITGenerate an Audit on protect and unprotect operations.static intCRYPTPROTECT_CRED_REGENERATERegenerate the local machine protection.static intCRYPTPROTECT_CRED_SYNCForce credential synchronize during CryptProtectData() Synchronize is only operation that occurs during this operation.static intCRYPTPROTECT_LOCAL_MACHINEPer machine protected data -- any user on machine where CryptProtectData took place may CryptUnprotectData.static intCRYPTPROTECT_NO_RECOVERYProtect data with a non-recoverable key.static intCRYPTPROTECT_PROMPT_ON_PROTECTPrompt on protect.static intCRYPTPROTECT_PROMPT_ON_UNPROTECTPrompt on unprotect.static intCRYPTPROTECT_PROMPT_REQUIRE_STRONGRequire strong variant UI protection (user supplied password currently).static intCRYPTPROTECT_PROMPT_RESERVEDReserved, don't use.static intCRYPTPROTECT_PROMPT_STRONGDefault to strong variant UI protection (user supplied password currently).static intCRYPTPROTECT_UI_FORBIDDENFor remote-access situations where ui is not an option, if UI was specified on protect or unprotect operation, the call will fail and GetLastError() will indicate ERROR_PASSWORD_RESTRICTION.static intCRYPTPROTECT_VERIFY_PROTECTIONVerify the protection of a protected blob.static WinCrypt.HCERTCHAINENGINEHCCE_CURRENT_USERPredefined certificate chain engine values.static WinCrypt.HCERTCHAINENGINEHCCE_LOCAL_MACHINEPredefined certificate chain engine values.static WinCrypt.HCERTCHAINENGINEHCCE_SERIAL_LOCAL_MACHINEPredefined certificate chain engine values.static intPKCS_7_ASN_ENCODINGMessage Encoding Type.static intPKCS_7_NDR_ENCODINGMessage Encoding Type.static intPKCS12_ALLOW_OVERWRITE_KEYAllow overwrite of the existing key.static intPKCS12_ALWAYS_CNG_KSPIndicates that the CNG KSP is always used.static intPKCS12_INCLUDE_EXTENDED_PROPERTIESImport all extended properties on the certificate that were saved on the certificate when it was exported.static intPKCS12_NO_PERSIST_KEYDo not persist the key.static intPKCS12_PREFER_CNG_KSPIndicates that the CNG key storage provider (KSP) is preferred.static intPP_CLIENT_HWNDSet the window handle that the provider uses as the parent of any dialog boxes it creates.static java.lang.StringszOID_RSA_SHA1RSAAlgorithm object identifiers RSA.static intUSAGE_MATCH_TYPE_ANDDetermines the kind of issuer matching to be done.static intUSAGE_MATCH_TYPE_ORDetermines the kind of issuer matching to be done.static intX509_ASN_ENCODINGMessage Encoding Type.static intX509_NDR_ENCODINGMessage Encoding Type.
 
- 
- 
- 
Field Detail- 
CRYPTPROTECT_PROMPT_ON_UNPROTECTstatic final int CRYPTPROTECT_PROMPT_ON_UNPROTECT Prompt on unprotect.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_PROMPT_ON_PROTECTstatic final int CRYPTPROTECT_PROMPT_ON_PROTECT Prompt on protect.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_PROMPT_RESERVEDstatic final int CRYPTPROTECT_PROMPT_RESERVED Reserved, don't use.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_PROMPT_STRONGstatic final int CRYPTPROTECT_PROMPT_STRONG Default to strong variant UI protection (user supplied password currently).- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_PROMPT_REQUIRE_STRONGstatic final int CRYPTPROTECT_PROMPT_REQUIRE_STRONG Require strong variant UI protection (user supplied password currently).- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_UI_FORBIDDENstatic final int CRYPTPROTECT_UI_FORBIDDEN For remote-access situations where ui is not an option, if UI was specified on protect or unprotect operation, the call will fail and GetLastError() will indicate ERROR_PASSWORD_RESTRICTION.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_LOCAL_MACHINEstatic final int CRYPTPROTECT_LOCAL_MACHINE Per machine protected data -- any user on machine where CryptProtectData took place may CryptUnprotectData.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_CRED_SYNCstatic final int CRYPTPROTECT_CRED_SYNC Force credential synchronize during CryptProtectData() Synchronize is only operation that occurs during this operation.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_AUDITstatic final int CRYPTPROTECT_AUDIT Generate an Audit on protect and unprotect operations.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_NO_RECOVERYstatic final int CRYPTPROTECT_NO_RECOVERY Protect data with a non-recoverable key.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_VERIFY_PROTECTIONstatic final int CRYPTPROTECT_VERIFY_PROTECTION Verify the protection of a protected blob.- See Also:
- Constant Field Values
 
 - 
CRYPTPROTECT_CRED_REGENERATEstatic final int CRYPTPROTECT_CRED_REGENERATE Regenerate the local machine protection.- See Also:
- Constant Field Values
 
 - 
CRYPT_E_ASN1_ERRORstatic final int CRYPT_E_ASN1_ERROR ASN.1 Certificate encode/decode return value base- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_INTERNALstatic final int CRYPT_E_ASN1_INTERNAL ASN.1 internal encode or decode error- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_EODstatic final int CRYPT_E_ASN1_EOD ASN.1 unexpected end of data- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_CORRUPTstatic final int CRYPT_E_ASN1_CORRUPT ASN.1 corrupted data- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_LARGEstatic final int CRYPT_E_ASN1_LARGE ASN.1 value too large- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_CONSTRAINTstatic final int CRYPT_E_ASN1_CONSTRAINT ASN.1 constraint violated- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_MEMORYstatic final int CRYPT_E_ASN1_MEMORY ASN.1 out of memory- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_OVERFLOWstatic final int CRYPT_E_ASN1_OVERFLOW ASN.1 buffer overflow- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_BADPDUstatic final int CRYPT_E_ASN1_BADPDU ASN.1 function not supported for this PDU- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_BADARGSstatic final int CRYPT_E_ASN1_BADARGS ASN.1 bad arguments to function call- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_BADREALstatic final int CRYPT_E_ASN1_BADREAL ASN.1 bad real value- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_BADTAGstatic final int CRYPT_E_ASN1_BADTAG ASN.1 bad tag value met- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_CHOICEstatic final int CRYPT_E_ASN1_CHOICE ASN.1 bad choice value- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_RULEstatic final int CRYPT_E_ASN1_RULE ASN.1 bad encoding rule- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_UTF8static final int CRYPT_E_ASN1_UTF8 ASN.1 bad Unicode (UTF8)- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_PDU_TYPEstatic final int CRYPT_E_ASN1_PDU_TYPE ASN.1 bad PDU type- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_NYIstatic final int CRYPT_E_ASN1_NYI ASN.1 not yet implemented- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_EXTENDEDstatic final int CRYPT_E_ASN1_EXTENDED ASN.1 skipped unknown extensions- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_E_ASN1_NOEODstatic final int CRYPT_E_ASN1_NOEOD ASN.1 end of data expected- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_ASN_ENCODINGstatic final int CRYPT_ASN_ENCODING Message Encoding Type.- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_NDR_ENCODINGstatic final int CRYPT_NDR_ENCODING Message Encoding Type.- See Also:
- MSDN, Constant Field Values
 
 - 
X509_ASN_ENCODINGstatic final int X509_ASN_ENCODING Message Encoding Type.- See Also:
- MSDN, Constant Field Values
 
 - 
X509_NDR_ENCODINGstatic final int X509_NDR_ENCODING Message Encoding Type.- See Also:
- MSDN, Constant Field Values
 
 - 
PKCS_7_ASN_ENCODINGstatic final int PKCS_7_ASN_ENCODING Message Encoding Type.- See Also:
- MSDN, Constant Field Values
 
 - 
PKCS_7_NDR_ENCODINGstatic final int PKCS_7_NDR_ENCODING Message Encoding Type.- See Also:
- MSDN, Constant Field Values
 
 - 
USAGE_MATCH_TYPE_ANDstatic final int USAGE_MATCH_TYPE_AND Determines the kind of issuer matching to be done.- See Also:
- MSDN, Constant Field Values
 
 - 
USAGE_MATCH_TYPE_ORstatic final int USAGE_MATCH_TYPE_OR Determines the kind of issuer matching to be done.- See Also:
- MSDN, Constant Field Values
 
 - 
PP_CLIENT_HWNDstatic final int PP_CLIENT_HWND Set the window handle that the provider uses as the parent of any dialog boxes it creates.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_SIMPLE_NAME_STRstatic final int CERT_SIMPLE_NAME_STR Certificate name string type.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_OID_NAME_STRstatic final int CERT_OID_NAME_STR Certificate name string type.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_X500_NAME_STRstatic final int CERT_X500_NAME_STR Certificate name string type.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_XML_NAME_STRstatic final int CERT_XML_NAME_STR Certificate name string type.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_CHAIN_POLICY_BASEstatic final int CERT_CHAIN_POLICY_BASE Predefined verify chain policies.- See Also:
- MSDN, Constant Field Values
 
 - 
szOID_RSA_SHA1RSAstatic final java.lang.String szOID_RSA_SHA1RSA Algorithm object identifiers RSA.- See Also:
- MSDN, Constant Field Values
 
 - 
HCCE_CURRENT_USERstatic final WinCrypt.HCERTCHAINENGINE HCCE_CURRENT_USER Predefined certificate chain engine values.- See Also:
- MSDN
 
 - 
HCCE_LOCAL_MACHINEstatic final WinCrypt.HCERTCHAINENGINE HCCE_LOCAL_MACHINE Predefined certificate chain engine values.- See Also:
- MSDN
 
 - 
HCCE_SERIAL_LOCAL_MACHINEstatic final WinCrypt.HCERTCHAINENGINE HCCE_SERIAL_LOCAL_MACHINE Predefined certificate chain engine values.- See Also:
- MSDN
 
 - 
CERT_COMPARE_SHIFTstatic final int CERT_COMPARE_SHIFT Certificate comparison functions.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_COMPARE_NAME_STR_Wstatic final int CERT_COMPARE_NAME_STR_W Certificate comparison functions.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_INFO_SUBJECT_FLAGstatic final int CERT_INFO_SUBJECT_FLAG Certificate comparison functions.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_FIND_SUBJECT_STR_Wstatic final int CERT_FIND_SUBJECT_STR_W Certificate comparison functions.- See Also:
- MSDN, Constant Field Values
 
 - 
CERT_FIND_SUBJECT_STRstatic final int CERT_FIND_SUBJECT_STR Certificate comparison functions.- See Also:
- MSDN, Constant Field Values
 
 - 
CRYPT_EXPORTABLEstatic final int CRYPT_EXPORTABLE Imported keys are marked as exportable. If this flag is not used, calls to the CryptExportKey function with the key handle fail.- See Also:
- Constant Field Values
 
 - 
CRYPT_USER_PROTECTEDstatic final int CRYPT_USER_PROTECTED The user is to be notified through a dialog box or other method when certain attempts to use this key are made. The precise behavior is specified by the cryptographic service provider (CSP) being used.Prior to Internet Explorer 4.0, Microsoft cryptographic service providers ignored this flag. Starting with Internet Explorer 4.0, Microsoft providers support this flag. If the provider context was opened with the CRYPT_SILENT flag set, using this flag causes a failure and the last error is set to NTE_SILENT_CONTEXT. - See Also:
- Constant Field Values
 
 - 
CRYPT_MACHINE_KEYSETstatic final int CRYPT_MACHINE_KEYSET The private keys are stored under the local computer and not under the current user.- See Also:
- Constant Field Values
 
 - 
CRYPT_USER_KEYSETstatic final int CRYPT_USER_KEYSET The private keys are stored under the current user and not under the local computer even if the PFX BLOB specifies that they should go into the local computer.- See Also:
- Constant Field Values
 
 - 
PKCS12_PREFER_CNG_KSPstatic final int PKCS12_PREFER_CNG_KSP Indicates that the CNG key storage provider (KSP) is preferred. If the CSP is specified in the PFX file, then the CSP is used, otherwise the KSP is preferred. If the CNG KSP is unavailable, the PFXImportCertStore function will fail.- See Also:
- Constant Field Values
 
 - 
PKCS12_ALWAYS_CNG_KSPstatic final int PKCS12_ALWAYS_CNG_KSP Indicates that the CNG KSP is always used. When specified, PFXImportCertStore attempts to use the CNG KSP irrespective of provider information in the PFX file. If the CNG KSP is unavailable, the import will not fail.- See Also:
- Constant Field Values
 
 - 
PKCS12_ALLOW_OVERWRITE_KEYstatic final int PKCS12_ALLOW_OVERWRITE_KEY Allow overwrite of the existing key. Specify this flag when you encounter a scenario in which you must import a PFX file that contains a key name that already exists. For example, when you import a PFX file, it is possible that a container of the same name is already present because there is no unique namespace for key containers. If you have created a "TestKey" on your computer, and then you import a PFX file that also has "TestKey" as the key container, the PKCS12_ALLOW_OVERWRITE_KEY setting allows the key to be overwritten.- See Also:
- Constant Field Values
 
 - 
PKCS12_NO_PERSIST_KEYstatic final int PKCS12_NO_PERSIST_KEY Do not persist the key. Specify this flag when you do not want to persist the key. For example, if it is not necessary to store the key after verification, then instead of creating a container and then deleting it, you can specify this flag to dispose of the key immediately.- See Also:
- Constant Field Values
 
 - 
PKCS12_INCLUDE_EXTENDED_PROPERTIESstatic final int PKCS12_INCLUDE_EXTENDED_PROPERTIES Import all extended properties on the certificate that were saved on the certificate when it was exported.- See Also:
- Constant Field Values
 
 - 
CERT_CLOSE_STORE_FORCE_FLAGstatic final int CERT_CLOSE_STORE_FORCE_FLAG Checks for nonfreed certificate, CRL, and CTL contexts. A returned error code indicates that one or more store elements is still in use. This flag should only be used as a diagnostic tool in the development of applications.- See Also:
- Constant Field Values
 
 - 
CERT_CLOSE_STORE_CHECK_FLAGstatic final int CERT_CLOSE_STORE_CHECK_FLAG Forces the freeing of memory for all contexts associated with the store. This flag can be safely used only when the store is opened in a function and neither the store handle nor any of its contexts are passed to any called functions. For details, see Remarks.- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_CERTstatic final int CERT_QUERY_CONTENT_CERT encoded single certificate- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_CTLstatic final int CERT_QUERY_CONTENT_CTL encoded single CTL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_CRLstatic final int CERT_QUERY_CONTENT_CRL encoded single CRL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_SERIALIZED_STOREstatic final int CERT_QUERY_CONTENT_SERIALIZED_STORE serialized store- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_SERIALIZED_CERTstatic final int CERT_QUERY_CONTENT_SERIALIZED_CERT serialized single certificate- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_SERIALIZED_CTLstatic final int CERT_QUERY_CONTENT_SERIALIZED_CTL serialized single CTL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_SERIALIZED_CRLstatic final int CERT_QUERY_CONTENT_SERIALIZED_CRL serialized single CRL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_PKCS7_SIGNEDstatic final int CERT_QUERY_CONTENT_PKCS7_SIGNED a PKCS#7 signed message- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_PKCS7_UNSIGNEDstatic final int CERT_QUERY_CONTENT_PKCS7_UNSIGNED a PKCS#7 message, such as enveloped message. But it is not a signed message,- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBEDstatic final int CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED a PKCS7 signed message embedded in a file- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_PKCS10static final int CERT_QUERY_CONTENT_PKCS10 an encoded PKCS#10- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_PFXstatic final int CERT_QUERY_CONTENT_PFX an encoded PFX BLOB- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_CERT_PAIRstatic final int CERT_QUERY_CONTENT_CERT_PAIR an encoded CertificatePair (contains forward and/or reverse cross certs)- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_PFX_AND_LOADstatic final int CERT_QUERY_CONTENT_PFX_AND_LOAD an encoded PFX BLOB, which was loaded to phCertStore- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_CERTstatic final int CERT_QUERY_CONTENT_FLAG_CERT encoded single certificate- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_CTLstatic final int CERT_QUERY_CONTENT_FLAG_CTL encoded single CTL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_CRLstatic final int CERT_QUERY_CONTENT_FLAG_CRL encoded single CRL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_SERIALIZED_STOREstatic final int CERT_QUERY_CONTENT_FLAG_SERIALIZED_STORE serialized store- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERTstatic final int CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERT serialized single certificate- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTLstatic final int CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTL serialized single CTL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRLstatic final int CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRL serialized single CRL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNEDstatic final int CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED an encoded PKCS#7 signed message- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNEDstatic final int CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED an encoded PKCS#7 message. But it is not a signed message- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBEDstatic final int CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED the content includes an embedded PKCS7 signed message- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_PKCS10static final int CERT_QUERY_CONTENT_FLAG_PKCS10 an encoded PKCS#10- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_PFXstatic final int CERT_QUERY_CONTENT_FLAG_PFX an encoded PFX BLOB- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_CERT_PAIRstatic final int CERT_QUERY_CONTENT_FLAG_CERT_PAIR an encoded CertificatePair (contains forward and/or reverse cross certs)- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_PFX_AND_LOADstatic final int CERT_QUERY_CONTENT_FLAG_PFX_AND_LOAD an encoded PFX BLOB, and we do want to load it (not included inCERT_QUERY_CONTENT_FLAG_ALL- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_CONTENT_FLAG_ALLstatic final int CERT_QUERY_CONTENT_FLAG_ALL content can be any type- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_FORMAT_BINARYstatic final int CERT_QUERY_FORMAT_BINARY the content is in binary format- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_FORMAT_BASE64_ENCODEDstatic final int CERT_QUERY_FORMAT_BASE64_ENCODED the content is base64 encoded- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODEDstatic final int CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED the content is ascii hex encoded with "{ASN}" prefix- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_FORMAT_FLAG_BINARYstatic final int CERT_QUERY_FORMAT_FLAG_BINARY the content is in binary format- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_FORMAT_FLAG_BASE64_ENCODEDstatic final int CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED the content is base64 encoded- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODEDstatic final int CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED the content is ascii hex encoded with "{ASN}" prefix- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_FORMAT_FLAG_ALLstatic final int CERT_QUERY_FORMAT_FLAG_ALL the content can be of any format- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_OBJECT_FILEstatic final int CERT_QUERY_OBJECT_FILE The object is stored in a file.- See Also:
- Constant Field Values
 
 - 
CERT_QUERY_OBJECT_BLOBstatic final int CERT_QUERY_OBJECT_BLOB The object is stored in a structure in memory.- See Also:
- Constant Field Values
 
 
- 
 
-