Skip navigation links
JNA API 4.5.1
com.sun.jna.platform.win32

Interface WinCrypt



  • public interface WinCrypt
    Ported from WinCrypt.h. Microsoft Windows SDK 6.0A.
    Author:
    dblock[at]dblock.org
    • 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_CONSTRAINT

        static final int CRYPT_E_ASN1_CONSTRAINT
        ASN.1 constraint violated
        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_EXTENDED

        static final int CRYPT_E_ASN1_EXTENDED
        ASN.1 skipped unknown extensions
        See Also:
        MSDN, Constant Field Values
JNA API 4.5.1

Copyright © 2007-2017 Timothy Wall. All Rights Reserved.