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 Summary
Nested Classes Modifier and Type Interface Description 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.DATA_BLOBThe CryptoAPI CRYPTOAPI_BLOB structure is used for an arbitrary array of bytes.
-
Field Summary
Fields Modifier and Type Field Description 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 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.
-
-
-
Field Detail
-
CRYPTPROTECT_PROMPT_ON_UNPROTECT
static final int CRYPTPROTECT_PROMPT_ON_UNPROTECT
Prompt on unprotect.- See Also:
- Constant Field Values
-
CRYPTPROTECT_PROMPT_ON_PROTECT
static final int CRYPTPROTECT_PROMPT_ON_PROTECT
Prompt on protect.- See Also:
- Constant Field Values
-
CRYPTPROTECT_PROMPT_RESERVED
static final int CRYPTPROTECT_PROMPT_RESERVED
Reserved, don't use.- See Also:
- Constant Field Values
-
CRYPTPROTECT_PROMPT_STRONG
static final int CRYPTPROTECT_PROMPT_STRONG
Default to strong variant UI protection (user supplied password currently).- See Also:
- Constant Field Values
-
CRYPTPROTECT_PROMPT_REQUIRE_STRONG
static final int CRYPTPROTECT_PROMPT_REQUIRE_STRONG
Require strong variant UI protection (user supplied password currently).- See Also:
- Constant Field Values
-
CRYPTPROTECT_UI_FORBIDDEN
static 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_MACHINE
static 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_SYNC
static 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_AUDIT
static final int CRYPTPROTECT_AUDIT
Generate an Audit on protect and unprotect operations.- See Also:
- Constant Field Values
-
CRYPTPROTECT_NO_RECOVERY
static final int CRYPTPROTECT_NO_RECOVERY
Protect data with a non-recoverable key.- See Also:
- Constant Field Values
-
CRYPTPROTECT_VERIFY_PROTECTION
static final int CRYPTPROTECT_VERIFY_PROTECTION
Verify the protection of a protected blob.- See Also:
- Constant Field Values
-
CRYPTPROTECT_CRED_REGENERATE
static final int CRYPTPROTECT_CRED_REGENERATE
Regenerate the local machine protection.- See Also:
- Constant Field Values
-
CRYPT_E_ASN1_ERROR
static final int CRYPT_E_ASN1_ERROR
ASN.1 Certificate encode/decode return value base- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_INTERNAL
static final int CRYPT_E_ASN1_INTERNAL
ASN.1 internal encode or decode error- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_EOD
static final int CRYPT_E_ASN1_EOD
ASN.1 unexpected end of data- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_CORRUPT
static final int CRYPT_E_ASN1_CORRUPT
ASN.1 corrupted data- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_LARGE
static final int CRYPT_E_ASN1_LARGE
ASN.1 value too large- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_CONSTRAINT
static final int CRYPT_E_ASN1_CONSTRAINT
ASN.1 constraint violated- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_MEMORY
static final int CRYPT_E_ASN1_MEMORY
ASN.1 out of memory- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_OVERFLOW
static final int CRYPT_E_ASN1_OVERFLOW
ASN.1 buffer overflow- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_BADPDU
static final int CRYPT_E_ASN1_BADPDU
ASN.1 function not supported for this PDU- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_BADARGS
static final int CRYPT_E_ASN1_BADARGS
ASN.1 bad arguments to function call- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_BADREAL
static final int CRYPT_E_ASN1_BADREAL
ASN.1 bad real value- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_BADTAG
static final int CRYPT_E_ASN1_BADTAG
ASN.1 bad tag value met- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_CHOICE
static final int CRYPT_E_ASN1_CHOICE
ASN.1 bad choice value- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_RULE
static final int CRYPT_E_ASN1_RULE
ASN.1 bad encoding rule- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_UTF8
static final int CRYPT_E_ASN1_UTF8
ASN.1 bad Unicode (UTF8)- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_PDU_TYPE
static final int CRYPT_E_ASN1_PDU_TYPE
ASN.1 bad PDU type- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_NYI
static final int CRYPT_E_ASN1_NYI
ASN.1 not yet implemented- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_EXTENDED
static final int CRYPT_E_ASN1_EXTENDED
ASN.1 skipped unknown extensions- See Also:
- MSDN, Constant Field Values
-
CRYPT_E_ASN1_NOEOD
static final int CRYPT_E_ASN1_NOEOD
ASN.1 end of data expected- See Also:
- MSDN, Constant Field Values
-
-