| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: Returns the retrieved string.The certificate encoding type that was used to
encode the name. The message encoding type identifier, contained in the
high WORD of this value, is ignored by this function. dwCertEncodingType, int This parameter specifies the format of the output
string. This parameter also specifies other options for the contents of
the string. dwStrType, WinCrypt.A pointer to the CERT_NAME_BLOB structure to be converted. pNameUtility method to call to Crypt32's CertNameToStr that allocates the assigns the required memory for the psz parameter based on the type mapping used, calls to CertNameToStr, and returns the received string. |
| public static byte[] | |
| public static byte[] | Returns: Protected data.Data to protect. data, int Optional flags, eg. CRYPTPROTECT_LOCAL_MACHINE | CRYPTPROTECT_UI_FORBIDDEN. flags)Protect a blob of data with optional flags. |
| public static byte[] | Returns: Protected bytes.Data to protect. data, byte[] Optional entropy. entropy, int Optional flags. flags, String Optional description. description, WinCrypt.Prompt structure. promptProtect a blob of data. |
| public static byte[] | Returns: Unprotected blob of data.Data to unprotect. data)Unprotect a blob of data. |
| public static byte[] | Returns: Unprotected blob of data.Data to unprotect. data, int Optional flags, eg. CRYPTPROTECT_UI_FORBIDDEN. flags)Unprotect a blob of data. |
| public static byte[] | Returns: Unprotected blob of data.Data to unprotect. data, byte[] Optional entropy. entropy, int Optional flags. flags, WinCrypt.Optional prompt structure. promptUnprotect a blob of data. |
| Crypt32Util | back to summary |
|---|---|
| public Crypt32Util() | |
| CertNameToStr | back to summary |
|---|---|
| public static String CertNameToStr(int dwCertEncodingType, int dwStrType, WinCrypt. Utility method to call to Crypt32's CertNameToStr that allocates the assigns the required memory for the psz parameter based on the type mapping used, calls to CertNameToStr, and returns the received string.
| |
| cryptProtectData | back to summary |
|---|---|
| public static byte[] cryptProtectData(byte[] data) Protect a blob of data.
| |
| cryptProtectData | back to summary |
|---|---|
| public static byte[] cryptProtectData(byte[] data, int flags) Protect a blob of data with optional flags.
| |
| cryptProtectData | back to summary |
|---|---|
| public static byte[] cryptProtectData(byte[] data, byte[] entropy, int flags, String description, WinCrypt. Protect a blob of data.
| |
| cryptUnprotectData | back to summary |
|---|---|
| public static byte[] cryptUnprotectData(byte[] data) Unprotect a blob of data.
| |
| cryptUnprotectData | back to summary |
|---|---|
| public static byte[] cryptUnprotectData(byte[] data, int flags) Unprotect a blob of data.
| |
| cryptUnprotectData | back to summary |
|---|---|
| public static byte[] cryptUnprotectData(byte[] data, byte[] entropy, int flags, WinCrypt. Unprotect a blob of data.
| |