Package com.sun.jna.platform.win32
Interface WinCrypt
public interface WinCrypt
Ported from WinCrypt.h.
Microsoft Windows SDK 6.0A.
- Author:
- dblock[at]dblock.org
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe 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 classThe CERT_CHAIN_ELEMENT structure is a single element in a simple certificate chain.static classThe CERT_CHAIN_PARA structure establishes the searching and matching criteria to be used in building a certificate chain.static classThe CERT_CHAIN_POLICY_PARA structure contains information used in CertVerifyCertificateChainPolicy to establish policy criteria for the verification of certificate chains.static classThe CERT_CHAIN_POLICY_STATUS structure holds certificate chain status information returned by the CertVerifyCertificateChainPolicy function when the certificate chains are validated.static classThe CERT_CONTEXT structure contains both the encoded and decoded representations of a certificate.static classThe CERT_EXTENSION structure contains the extension information for a certificate, Certificate Revocation List (CRL) or Certificate Trust List (CTL).static classThe CERT_EXTENSIONS structure contains an array of extensions.static classThe CERT_INFO structure contains the information of a certificate.static classThe CERT_PUBLIC_KEY_INFO structure contains a public key and its algorithm.static classContains information updated by a certificate revocation list (CRL) revocation type handler.static classThe CERT_REVOCATION_INFO structure indicates the revocation status of a certificate in a CERT_CHAIN_ELEMENT.static classThe CERT_SIMPLE_CHAIN structure contains an array of chain elements and a summary trust status for the chain that the array represents.static classContains parameters used to check for strong signatures on certificates, certificate revocation lists (CRLs), online certificate status protocol (OCSP) responses, and PKCS #7 messages.static classContains the signature algorithm/hash algorithm and public key algorithm/bit length pairs that can be used for strong signing.static classThe CERT_TRUST_LIST_INFO structure that indicates valid usage of a CTL.static classThe 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 classThe CERT_USAGE_MATCH structure provides criteria for identifying issuer certificates to be used to build a certificate chain.static classValue wrapper forlpszStoreProviderofCrypt32.CertOpenStore(CertStoreProviderName, int, HCRYPTPROV_LEGACY, int, Pointer)static classThe CRL_CONTEXT structure contains both the encoded and decoded representations of a certificate revocation list (CRL).static classThe CRL_ENTRY structure contains information about a single revoked certificate.static classThe CRL_INFO structure contains the information of a certificate revocation list (CRL).static classThe CRYPT_ALGORITHM_IDENTIFIER structure specifies an algorithm used to encrypt a private key.static classThe CRYPT_ATTRIBUTE structure specifies an attribute that has one or more values.static classThe CRYPT_BIT_BLOB structure contains a set of bits represented by an array of bytes.static classThe CRYPT_KEY_PROV_INFO structure contains information about a key container within a cryptographic service provider (CSP).static classThe CRYPT_KEY_PROV_PARAM structure contains information about a key container parameter.static classThe CRYPT_SIGN_MESSAGE_PARA structure contains information for signing messages using a specified signing certificate context.static classThe CRYPT_VERIFY_MESSAGE_PARA structure contains information needed to verify signed messages.static interfaceThe CryptGetSignerCertificateCallback user supplied callback function is used with the CRYPT_VERIFY_MESSAGE_PARA structure to get and verify a message signer's certificate.static classThe 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 classThe CTL_CONTEXT structure contains both the encoded and decoded representations of a CTL.static classThe CTL_ENTRY structure is an element of a certificate trust list (CTL).static classThe CTL_INFO structure contains the information stored in a Certificate Trust List (CTL).static classThe CTL_USAGE structure contains an array of object identifiers (OIDs) for Certificate Trust List (CTL) extensions.static classThe CryptoAPI CRYPTOAPI_BLOB structure is used for an arbitrary array of bytes.static classHandle to a certificate chain engine.static classHandle to a certificate store.static classHandle to a cryptographic message.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPredefined verify chain policies.static final intForces the freeing of memory for all contexts associated with the store.static final intChecks for nonfreed certificate, CRL, and CTL contexts.static final intCertificate comparison functions.static final intCertificate comparison functions.static final intCertificate comparison functions.static final intCertificate comparison functions.static final intCertificate comparison functions.static final intCertificate name string type.static final intencoded single certificatestatic final intan encoded CertificatePair (contains forward and/or reverse cross certs)static final intencoded single CRLstatic final intencoded single CTLstatic final intcontent can be any typestatic final intencoded single certificatestatic final intan encoded CertificatePair (contains forward and/or reverse cross certs)static final intencoded single CRLstatic final intencoded single CTLstatic final intan encoded PFX BLOBstatic final intan encoded PFX BLOB, and we do want to load it (not included inCERT_QUERY_CONTENT_FLAG_ALLstatic final intan encoded PKCS#10static final intan encoded PKCS#7 signed messagestatic final intthe content includes an embedded PKCS7 signed messagestatic final intan encoded PKCS#7 message.static final intserialized single certificatestatic final intserialized single CRLstatic final intserialized single CTLstatic final intserialized storestatic final intan encoded PFX BLOBstatic final intan encoded PFX BLOB, which was loaded to phCertStorestatic final intan encoded PKCS#10static final inta PKCS#7 signed messagestatic final inta PKCS7 signed message embedded in a filestatic final inta PKCS#7 message, such as enveloped message.static final intserialized single certificatestatic final intserialized single CRLstatic final intserialized single CTLstatic final intserialized storestatic final intthe content is ascii hex encoded with "{ASN}" prefixstatic final intthe content is base64 encodedstatic final intthe content is in binary formatstatic final intthe content can be of any formatstatic final intthe content is ascii hex encoded with "{ASN}" prefixstatic final intthe content is base64 encodedstatic final intthe content is in binary formatstatic final intThe object is stored in a structure in memory.static final intThe object is stored in a file.static final intCertificate name string type.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intCertificate name string type.static final intCertificate name string type.static final intMessage Encoding Type.static final intASN.1 bad arguments to function callstatic final intASN.1 function not supported for this PDUstatic final intASN.1 bad real valuestatic final intASN.1 bad tag value metstatic final intASN.1 bad choice valuestatic final intASN.1 constraint violatedstatic final intASN.1 corrupted datastatic final intASN.1 unexpected end of datastatic final intASN.1 Certificate encode/decode return value basestatic final intASN.1 skipped unknown extensionsstatic final intASN.1 internal encode or decode errorstatic final intASN.1 value too largestatic final intASN.1 out of memorystatic final intASN.1 end of data expectedstatic final intASN.1 not yet implementedstatic final intASN.1 buffer overflowstatic final intASN.1 bad PDU typestatic final intASN.1 bad encoding rulestatic final intASN.1 bad Unicode (UTF8)static final intImported keys are marked as exportable.static final intThe private keys are stored under the local computer and not under the current user.static final intMessage Encoding Type.static final intThe 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 final intThe user is to be notified through a dialog box or other method when certain attempts to use this key are made.static final intGenerate an Audit on protect and unprotect operations.static final intRegenerate the local machine protection.static final intForce credential synchronize during CryptProtectData() Synchronize is only operation that occurs during this operation.static final intPer machine protected data -- any user on machine where CryptProtectData took place may CryptUnprotectData.static final intProtect data with a non-recoverable key.static final intPrompt on protect.static final intPrompt on unprotect.static final intRequire strong variant UI protection (user supplied password currently).static final intReserved, don't use.static final intDefault to strong variant UI protection (user supplied password currently).static final intFor 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 final intVerify the protection of a protected blob.static final WinCrypt.HCERTCHAINENGINEPredefined certificate chain engine values.static final WinCrypt.HCERTCHAINENGINEPredefined certificate chain engine values.static final WinCrypt.HCERTCHAINENGINEPredefined certificate chain engine values.static final intMessage Encoding Type.static final intMessage Encoding Type.static final intAllow overwrite of the existing key.static final intIndicates that the CNG KSP is always used.static final intImport all extended properties on the certificate that were saved on the certificate when it was exported.static final intDo not persist the key.static final intIndicates that the CNG key storage provider (KSP) is preferred.static final intSet the window handle that the provider uses as the parent of any dialog boxes it creates.static final StringAlgorithm object identifiers RSA.static final intDetermines the kind of issuer matching to be done.static final intDetermines the kind of issuer matching to be done.static final intMessage Encoding Type.static final intMessage Encoding Type.
-
Field Details
-
CRYPTPROTECT_PROMPT_ON_UNPROTECT
static final int CRYPTPROTECT_PROMPT_ON_UNPROTECTPrompt on unprotect.- See Also:
-
CRYPTPROTECT_PROMPT_ON_PROTECT
static final int CRYPTPROTECT_PROMPT_ON_PROTECTPrompt on protect.- See Also:
-
CRYPTPROTECT_PROMPT_RESERVED
static final int CRYPTPROTECT_PROMPT_RESERVEDReserved, don't use.- See Also:
-
CRYPTPROTECT_PROMPT_STRONG
static final int CRYPTPROTECT_PROMPT_STRONGDefault to strong variant UI protection (user supplied password currently).- See Also:
-
CRYPTPROTECT_PROMPT_REQUIRE_STRONG
static final int CRYPTPROTECT_PROMPT_REQUIRE_STRONGRequire strong variant UI protection (user supplied password currently).- See Also:
-
CRYPTPROTECT_UI_FORBIDDEN
static final int CRYPTPROTECT_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.- See Also:
-
CRYPTPROTECT_LOCAL_MACHINE
static final int CRYPTPROTECT_LOCAL_MACHINEPer machine protected data -- any user on machine where CryptProtectData took place may CryptUnprotectData.- See Also:
-
CRYPTPROTECT_CRED_SYNC
static final int CRYPTPROTECT_CRED_SYNCForce credential synchronize during CryptProtectData() Synchronize is only operation that occurs during this operation.- See Also:
-
CRYPTPROTECT_AUDIT
static final int CRYPTPROTECT_AUDITGenerate an Audit on protect and unprotect operations.- See Also:
-
CRYPTPROTECT_NO_RECOVERY
static final int CRYPTPROTECT_NO_RECOVERYProtect data with a non-recoverable key.- See Also:
-
CRYPTPROTECT_VERIFY_PROTECTION
static final int CRYPTPROTECT_VERIFY_PROTECTIONVerify the protection of a protected blob.- See Also:
-
CRYPTPROTECT_CRED_REGENERATE
static final int CRYPTPROTECT_CRED_REGENERATERegenerate the local machine protection.- See Also:
-
CRYPT_E_ASN1_ERROR
static final int CRYPT_E_ASN1_ERRORASN.1 Certificate encode/decode return value base- See Also:
-
CRYPT_E_ASN1_INTERNAL
static final int CRYPT_E_ASN1_INTERNALASN.1 internal encode or decode error- See Also:
-
CRYPT_E_ASN1_EOD
static final int CRYPT_E_ASN1_EODASN.1 unexpected end of data- See Also:
-
CRYPT_E_ASN1_CORRUPT
static final int CRYPT_E_ASN1_CORRUPTASN.1 corrupted data- See Also:
-
CRYPT_E_ASN1_LARGE
static final int CRYPT_E_ASN1_LARGEASN.1 value too large- See Also:
-
CRYPT_E_ASN1_CONSTRAINT
static final int CRYPT_E_ASN1_CONSTRAINTASN.1 constraint violated- See Also:
-
CRYPT_E_ASN1_MEMORY
static final int CRYPT_E_ASN1_MEMORYASN.1 out of memory- See Also:
-
CRYPT_E_ASN1_OVERFLOW
static final int CRYPT_E_ASN1_OVERFLOWASN.1 buffer overflow- See Also:
-
CRYPT_E_ASN1_BADPDU
static final int CRYPT_E_ASN1_BADPDUASN.1 function not supported for this PDU- See Also:
-
CRYPT_E_ASN1_BADARGS
static final int CRYPT_E_ASN1_BADARGSASN.1 bad arguments to function call- See Also:
-
CRYPT_E_ASN1_BADREAL
static final int CRYPT_E_ASN1_BADREALASN.1 bad real value- See Also:
-
CRYPT_E_ASN1_BADTAG
static final int CRYPT_E_ASN1_BADTAGASN.1 bad tag value met- See Also:
-
CRYPT_E_ASN1_CHOICE
static final int CRYPT_E_ASN1_CHOICEASN.1 bad choice value- See Also:
-
CRYPT_E_ASN1_RULE
static final int CRYPT_E_ASN1_RULEASN.1 bad encoding rule- See Also:
-
CRYPT_E_ASN1_UTF8
static final int CRYPT_E_ASN1_UTF8ASN.1 bad Unicode (UTF8)- See Also:
-
CRYPT_E_ASN1_PDU_TYPE
static final int CRYPT_E_ASN1_PDU_TYPEASN.1 bad PDU type- See Also:
-
CRYPT_E_ASN1_NYI
static final int CRYPT_E_ASN1_NYIASN.1 not yet implemented- See Also:
-
CRYPT_E_ASN1_EXTENDED
static final int CRYPT_E_ASN1_EXTENDEDASN.1 skipped unknown extensions- See Also:
-
CRYPT_E_ASN1_NOEOD
static final int CRYPT_E_ASN1_NOEODASN.1 end of data expected- See Also:
-
CRYPT_ASN_ENCODING
static final int CRYPT_ASN_ENCODINGMessage Encoding Type.- See Also:
-
CRYPT_NDR_ENCODING
static final int CRYPT_NDR_ENCODINGMessage Encoding Type.- See Also:
-
X509_ASN_ENCODING
static final int X509_ASN_ENCODINGMessage Encoding Type.- See Also:
-
X509_NDR_ENCODING
static final int X509_NDR_ENCODINGMessage Encoding Type.- See Also:
-
PKCS_7_ASN_ENCODING
static final int PKCS_7_ASN_ENCODINGMessage Encoding Type.- See Also:
-
PKCS_7_NDR_ENCODING
static final int PKCS_7_NDR_ENCODINGMessage Encoding Type.- See Also:
-
USAGE_MATCH_TYPE_AND
static final int USAGE_MATCH_TYPE_ANDDetermines the kind of issuer matching to be done.- See Also:
-
USAGE_MATCH_TYPE_OR
static final int USAGE_MATCH_TYPE_ORDetermines the kind of issuer matching to be done.- See Also:
-
PP_CLIENT_HWND
static final int PP_CLIENT_HWNDSet the window handle that the provider uses as the parent of any dialog boxes it creates.- See Also:
-
CERT_SIMPLE_NAME_STR
static final int CERT_SIMPLE_NAME_STRCertificate name string type.- See Also:
-
CERT_OID_NAME_STR
static final int CERT_OID_NAME_STRCertificate name string type.- See Also:
-
CERT_X500_NAME_STR
static final int CERT_X500_NAME_STRCertificate name string type.- See Also:
-
CERT_XML_NAME_STR
static final int CERT_XML_NAME_STRCertificate name string type.- See Also:
-
CERT_CHAIN_POLICY_BASE
static final int CERT_CHAIN_POLICY_BASEPredefined verify chain policies.- See Also:
-
szOID_RSA_SHA1RSA
Algorithm object identifiers RSA.- See Also:
-
HCCE_CURRENT_USER
Predefined certificate chain engine values.- See Also:
-
HCCE_LOCAL_MACHINE
Predefined certificate chain engine values.- See Also:
-
HCCE_SERIAL_LOCAL_MACHINE
Predefined certificate chain engine values.- See Also:
-
CERT_COMPARE_SHIFT
static final int CERT_COMPARE_SHIFTCertificate comparison functions.- See Also:
-
CERT_COMPARE_NAME_STR_W
static final int CERT_COMPARE_NAME_STR_WCertificate comparison functions.- See Also:
-
CERT_INFO_SUBJECT_FLAG
static final int CERT_INFO_SUBJECT_FLAGCertificate comparison functions.- See Also:
-
CERT_FIND_SUBJECT_STR_W
static final int CERT_FIND_SUBJECT_STR_WCertificate comparison functions.- See Also:
-
CERT_FIND_SUBJECT_STR
static final int CERT_FIND_SUBJECT_STRCertificate comparison functions.- See Also:
-
CRYPT_EXPORTABLE
static final int CRYPT_EXPORTABLEImported keys are marked as exportable. If this flag is not used, calls to the CryptExportKey function with the key handle fail.- See Also:
-
CRYPT_USER_PROTECTED
static final int CRYPT_USER_PROTECTEDThe 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:
-
CRYPT_MACHINE_KEYSET
static final int CRYPT_MACHINE_KEYSETThe private keys are stored under the local computer and not under the current user.- See Also:
-
CRYPT_USER_KEYSET
static final int CRYPT_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.- See Also:
-
PKCS12_PREFER_CNG_KSP
static final int PKCS12_PREFER_CNG_KSPIndicates 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:
-
PKCS12_ALWAYS_CNG_KSP
static final int PKCS12_ALWAYS_CNG_KSPIndicates 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:
-
PKCS12_ALLOW_OVERWRITE_KEY
static final int PKCS12_ALLOW_OVERWRITE_KEYAllow 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:
-
PKCS12_NO_PERSIST_KEY
static final int PKCS12_NO_PERSIST_KEYDo 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:
-
PKCS12_INCLUDE_EXTENDED_PROPERTIES
static final int PKCS12_INCLUDE_EXTENDED_PROPERTIESImport all extended properties on the certificate that were saved on the certificate when it was exported.- See Also:
-
CERT_STORE_PROV_MSG
static final int CERT_STORE_PROV_MSG- See Also:
-
CERT_STORE_PROV_MEMORY
static final int CERT_STORE_PROV_MEMORY- See Also:
-
CERT_STORE_PROV_FILE
static final int CERT_STORE_PROV_FILE- See Also:
-
CERT_STORE_PROV_REG
static final int CERT_STORE_PROV_REG- See Also:
-
CERT_STORE_PROV_PKCS7
static final int CERT_STORE_PROV_PKCS7- See Also:
-
CERT_STORE_PROV_SERIALIZED
static final int CERT_STORE_PROV_SERIALIZED- See Also:
-
CERT_STORE_PROV_FILENAME_A
static final int CERT_STORE_PROV_FILENAME_A- See Also:
-
CERT_STORE_PROV_FILENAME_W
static final int CERT_STORE_PROV_FILENAME_W- See Also:
-
CERT_STORE_PROV_FILENAME
static final int CERT_STORE_PROV_FILENAME- See Also:
-
CERT_STORE_PROV_SYSTEM_A
static final int CERT_STORE_PROV_SYSTEM_A- See Also:
-
CERT_STORE_PROV_SYSTEM_W
static final int CERT_STORE_PROV_SYSTEM_W- See Also:
-
CERT_STORE_PROV_SYSTEM
static final int CERT_STORE_PROV_SYSTEM- See Also:
-
CERT_STORE_PROV_COLLECTION
static final int CERT_STORE_PROV_COLLECTION- See Also:
-
CERT_STORE_PROV_SYSTEM_REGISTRY_A
static final int CERT_STORE_PROV_SYSTEM_REGISTRY_A- See Also:
-
CERT_STORE_PROV_SYSTEM_REGISTRY_W
static final int CERT_STORE_PROV_SYSTEM_REGISTRY_W- See Also:
-
CERT_STORE_PROV_SYSTEM_REGISTRY
static final int CERT_STORE_PROV_SYSTEM_REGISTRY- See Also:
-
CERT_STORE_PROV_PHYSICAL_W
static final int CERT_STORE_PROV_PHYSICAL_W- See Also:
-
CERT_STORE_PROV_PHYSICAL
static final int CERT_STORE_PROV_PHYSICAL- See Also:
-
CERT_STORE_PROV_SMART_CARD_W
static final int CERT_STORE_PROV_SMART_CARD_W- See Also:
-
CERT_STORE_PROV_SMART_CARD
static final int CERT_STORE_PROV_SMART_CARD- See Also:
-
CERT_STORE_PROV_LDAP_W
static final int CERT_STORE_PROV_LDAP_W- See Also:
-
CERT_STORE_PROV_LDAP
static final int CERT_STORE_PROV_LDAP- See Also:
-
CERT_STORE_NO_CRYPT_RELEASE_FLAG
static final int CERT_STORE_NO_CRYPT_RELEASE_FLAG- See Also:
-
CERT_STORE_SET_LOCALIZED_NAME_FLAG
static final int CERT_STORE_SET_LOCALIZED_NAME_FLAG- See Also:
-
CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG
static final int CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG- See Also:
-
CERT_STORE_DELETE_FLAG
static final int CERT_STORE_DELETE_FLAG- See Also:
-
CERT_STORE_UNSAFE_PHYSICAL_FLAG
static final int CERT_STORE_UNSAFE_PHYSICAL_FLAG- See Also:
-
CERT_STORE_SHARE_STORE_FLAG
static final int CERT_STORE_SHARE_STORE_FLAG- See Also:
-
CERT_STORE_SHARE_CONTEXT_FLAG
static final int CERT_STORE_SHARE_CONTEXT_FLAG- See Also:
-
CERT_STORE_MANIFOLD_FLAG
static final int CERT_STORE_MANIFOLD_FLAG- See Also:
-
CERT_STORE_ENUM_ARCHIVED_FLAG
static final int CERT_STORE_ENUM_ARCHIVED_FLAG- See Also:
-
CERT_STORE_UPDATE_KEYID_FLAG
static final int CERT_STORE_UPDATE_KEYID_FLAG- See Also:
-
CERT_STORE_BACKUP_RESTORE_FLAG
static final int CERT_STORE_BACKUP_RESTORE_FLAG- See Also:
-
CERT_STORE_MAXIMUM_ALLOWED_FLAG
static final int CERT_STORE_MAXIMUM_ALLOWED_FLAG- See Also:
-
CERT_STORE_CREATE_NEW_FLAG
static final int CERT_STORE_CREATE_NEW_FLAG- See Also:
-
CERT_STORE_OPEN_EXISTING_FLAG
static final int CERT_STORE_OPEN_EXISTING_FLAG- See Also:
-
CERT_STORE_READONLY_FLAG
static final int CERT_STORE_READONLY_FLAG- See Also:
-
CERT_SYSTEM_STORE_CURRENT_USER
static final int CERT_SYSTEM_STORE_CURRENT_USER- See Also:
-
CERT_SYSTEM_STORE_LOCAL_MACHINE
static final int CERT_SYSTEM_STORE_LOCAL_MACHINE- See Also:
-
CERT_SYSTEM_STORE_CURRENT_SERVICE
static final int CERT_SYSTEM_STORE_CURRENT_SERVICE- See Also:
-
CERT_SYSTEM_STORE_SERVICES
static final int CERT_SYSTEM_STORE_SERVICES- See Also:
-
CERT_SYSTEM_STORE_USERS
static final int CERT_SYSTEM_STORE_USERS- See Also:
-
CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY
static final int CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY- See Also:
-
CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY
static final int CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY- See Also:
-
CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE
static final int CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE- See Also:
-
CERT_SYSTEM_STORE_UNPROTECTED_FLAG
static final int CERT_SYSTEM_STORE_UNPROTECTED_FLAG- See Also:
-
CERT_SYSTEM_STORE_RELOCATE_FLAG
static final int CERT_SYSTEM_STORE_RELOCATE_FLAG- See Also:
-
CERT_CLOSE_STORE_FORCE_FLAG
static final int CERT_CLOSE_STORE_FORCE_FLAGChecks 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:
-
CERT_CLOSE_STORE_CHECK_FLAG
static final int CERT_CLOSE_STORE_CHECK_FLAGForces 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:
-
CERT_QUERY_CONTENT_CERT
static final int CERT_QUERY_CONTENT_CERTencoded single certificate- See Also:
-
CERT_QUERY_CONTENT_CTL
static final int CERT_QUERY_CONTENT_CTLencoded single CTL- See Also:
-
CERT_QUERY_CONTENT_CRL
static final int CERT_QUERY_CONTENT_CRLencoded single CRL- See Also:
-
CERT_QUERY_CONTENT_SERIALIZED_STORE
static final int CERT_QUERY_CONTENT_SERIALIZED_STOREserialized store- See Also:
-
CERT_QUERY_CONTENT_SERIALIZED_CERT
static final int CERT_QUERY_CONTENT_SERIALIZED_CERTserialized single certificate- See Also:
-
CERT_QUERY_CONTENT_SERIALIZED_CTL
static final int CERT_QUERY_CONTENT_SERIALIZED_CTLserialized single CTL- See Also:
-
CERT_QUERY_CONTENT_SERIALIZED_CRL
static final int CERT_QUERY_CONTENT_SERIALIZED_CRLserialized single CRL- See Also:
-
CERT_QUERY_CONTENT_PKCS7_SIGNED
static final int CERT_QUERY_CONTENT_PKCS7_SIGNEDa PKCS#7 signed message- See Also:
-
CERT_QUERY_CONTENT_PKCS7_UNSIGNED
static final int CERT_QUERY_CONTENT_PKCS7_UNSIGNEDa PKCS#7 message, such as enveloped message. But it is not a signed message,- See Also:
-
CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED
static final int CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBEDa PKCS7 signed message embedded in a file- See Also:
-
CERT_QUERY_CONTENT_PKCS10
static final int CERT_QUERY_CONTENT_PKCS10an encoded PKCS#10- See Also:
-
CERT_QUERY_CONTENT_PFX
static final int CERT_QUERY_CONTENT_PFXan encoded PFX BLOB- See Also:
-
CERT_QUERY_CONTENT_CERT_PAIR
static final int CERT_QUERY_CONTENT_CERT_PAIRan encoded CertificatePair (contains forward and/or reverse cross certs)- See Also:
-
CERT_QUERY_CONTENT_PFX_AND_LOAD
static final int CERT_QUERY_CONTENT_PFX_AND_LOADan encoded PFX BLOB, which was loaded to phCertStore- See Also:
-
CERT_QUERY_CONTENT_FLAG_CERT
static final int CERT_QUERY_CONTENT_FLAG_CERTencoded single certificate- See Also:
-
CERT_QUERY_CONTENT_FLAG_CTL
static final int CERT_QUERY_CONTENT_FLAG_CTLencoded single CTL- See Also:
-
CERT_QUERY_CONTENT_FLAG_CRL
static final int CERT_QUERY_CONTENT_FLAG_CRLencoded single CRL- See Also:
-
CERT_QUERY_CONTENT_FLAG_SERIALIZED_STORE
static final int CERT_QUERY_CONTENT_FLAG_SERIALIZED_STOREserialized store- See Also:
-
CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERT
static final int CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERTserialized single certificate- See Also:
-
CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTL
static final int CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTLserialized single CTL- See Also:
-
CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRL
static final int CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRLserialized single CRL- See Also:
-
CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED
static final int CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNEDan encoded PKCS#7 signed message- See Also:
-
CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED
static final int CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNEDan encoded PKCS#7 message. But it is not a signed message- See Also:
-
CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED
static final int CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBEDthe content includes an embedded PKCS7 signed message- See Also:
-
CERT_QUERY_CONTENT_FLAG_PKCS10
static final int CERT_QUERY_CONTENT_FLAG_PKCS10an encoded PKCS#10- See Also:
-
CERT_QUERY_CONTENT_FLAG_PFX
static final int CERT_QUERY_CONTENT_FLAG_PFXan encoded PFX BLOB- See Also:
-
CERT_QUERY_CONTENT_FLAG_CERT_PAIR
static final int CERT_QUERY_CONTENT_FLAG_CERT_PAIRan encoded CertificatePair (contains forward and/or reverse cross certs)- See Also:
-
CERT_QUERY_CONTENT_FLAG_PFX_AND_LOAD
static final int CERT_QUERY_CONTENT_FLAG_PFX_AND_LOADan encoded PFX BLOB, and we do want to load it (not included inCERT_QUERY_CONTENT_FLAG_ALL- See Also:
-
CERT_QUERY_CONTENT_FLAG_ALL
static final int CERT_QUERY_CONTENT_FLAG_ALLcontent can be any type- See Also:
-
CERT_QUERY_FORMAT_BINARY
static final int CERT_QUERY_FORMAT_BINARYthe content is in binary format- See Also:
-
CERT_QUERY_FORMAT_BASE64_ENCODED
static final int CERT_QUERY_FORMAT_BASE64_ENCODEDthe content is base64 encoded- See Also:
-
CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED
static final int CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODEDthe content is ascii hex encoded with "{ASN}" prefix- See Also:
-
CERT_QUERY_FORMAT_FLAG_BINARY
static final int CERT_QUERY_FORMAT_FLAG_BINARYthe content is in binary format- See Also:
-
CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED
static final int CERT_QUERY_FORMAT_FLAG_BASE64_ENCODEDthe content is base64 encoded- See Also:
-
CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED
static final int CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODEDthe content is ascii hex encoded with "{ASN}" prefix- See Also:
-
CERT_QUERY_FORMAT_FLAG_ALL
static final int CERT_QUERY_FORMAT_FLAG_ALLthe content can be of any format- See Also:
-
CERT_QUERY_OBJECT_FILE
static final int CERT_QUERY_OBJECT_FILEThe object is stored in a file.- See Also:
-
CERT_QUERY_OBJECT_BLOB
static final int CERT_QUERY_OBJECT_BLOBThe object is stored in a structure in memory.- See Also:
-