|
cryptlib
3.4.1
|
Go to the source code of this file.
Macros | |
| #define | strParamLen strlen |
Enumerations | |
| enum | ERRORMAP { ARG_D, ARG_O, ARG_V, ARG_N, ARG_S, ARG_LAST } |
| #define strParamLen strlen |
Definition at line 1809 of file cryptapi.c.
| enum ERRORMAP |
Definition at line 1820 of file cryptapi.c.
| C_RET cryptAddCertExtension | ( | C_IN CRYPT_CERTIFICATE | certificate, |
| C_IN char C_PTR | oid, | ||
| C_IN int | criticalFlag, | ||
| C_IN void C_PTR | extension, | ||
| C_IN int | extensionLength | ||
| ) |
Definition at line 3993 of file cryptapi.c.
| C_RET cryptAddPrivateKey | ( | C_IN CRYPT_KEYSET | keyset, |
| C_IN CRYPT_HANDLE | cryptKey, | ||
| C_IN C_STR | password | ||
| ) |
Definition at line 3668 of file cryptapi.c.
| C_RET cryptAddPublicKey | ( | C_IN CRYPT_KEYSET | keyset, |
| C_IN CRYPT_CERTIFICATE | certificate | ||
| ) |
Definition at line 3641 of file cryptapi.c.
Definition at line 3920 of file cryptapi.c.
| C_RET cryptCAAddItem | ( | C_IN CRYPT_KEYSET | keyset, |
| C_IN CRYPT_CERTIFICATE | certificate | ||
| ) |
Definition at line 3014 of file cryptapi.c.
| C_RET cryptCACertManagement | ( | C_OUT_OPT CRYPT_CERTIFICATE C_PTR | certificate, |
| C_IN CRYPT_CERTACTION_TYPE | action, | ||
| C_IN CRYPT_KEYSET | keyset, | ||
| C_IN CRYPT_CONTEXT | caKey, | ||
| C_IN CRYPT_CERTIFICATE | certRequest | ||
| ) |
Definition at line 3219 of file cryptapi.c.
| C_RET cryptCADeleteItem | ( | C_IN CRYPT_KEYSET | keyset, |
| C_IN CRYPT_CERTTYPE_TYPE | certType, | ||
| C_IN CRYPT_KEYID_TYPE | keyIDtype, | ||
| C_IN C_STR | keyID | ||
| ) |
Definition at line 3149 of file cryptapi.c.
| C_RET cryptCAGetItem | ( | C_IN CRYPT_KEYSET | keyset, |
| C_OUT CRYPT_CERTIFICATE C_PTR | certificate, | ||
| C_IN CRYPT_CERTTYPE_TYPE | certType, | ||
| C_IN CRYPT_KEYID_TYPE | keyIDtype, | ||
| C_IN_OPT C_STR | keyID | ||
| ) |
Definition at line 3042 of file cryptapi.c.
| C_RET cryptCheckCert | ( | C_IN CRYPT_HANDLE | certificate, |
| C_IN CRYPT_HANDLE | sigCheckKey | ||
| ) |
Definition at line 2859 of file cryptapi.c.
| C_RET cryptCreateCert | ( | C_OUT CRYPT_CERTIFICATE C_PTR | certificate, |
| C_IN CRYPT_USER | cryptUser, | ||
| C_IN CRYPT_CERTTYPE_TYPE | certType | ||
| ) |
Definition at line 2000 of file cryptapi.c.
| C_RET cryptCreateContext | ( | C_OUT CRYPT_CONTEXT C_PTR | cryptContext, |
| C_IN CRYPT_USER | cryptUser, | ||
| C_IN CRYPT_ALGO_TYPE | cryptAlgo | ||
| ) |
Definition at line 1913 of file cryptapi.c.
| C_RET cryptCreateEnvelope | ( | C_OUT CRYPT_ENVELOPE C_PTR | envelope, |
| C_IN CRYPT_USER | cryptUser, | ||
| C_IN CRYPT_FORMAT_TYPE | formatType | ||
| ) |
Definition at line 2117 of file cryptapi.c.
| C_RET cryptCreateSession | ( | C_OUT CRYPT_SESSION C_PTR | session, |
| C_IN CRYPT_USER | cryptUser, | ||
| C_IN CRYPT_SESSION_TYPE | sessionType | ||
| ) |
Definition at line 2232 of file cryptapi.c.
Definition at line 2781 of file cryptapi.c.
| C_RET cryptDeleteAttribute | ( | C_IN CRYPT_HANDLE | cryptHandle, |
| C_IN CRYPT_ATTRIBUTE_TYPE | attributeType | ||
| ) |
Definition at line 2682 of file cryptapi.c.
| C_RET cryptDeleteCertExtension | ( | C_IN CRYPT_CERTIFICATE | certificate, |
| C_IN char C_PTR | oid | ||
| ) |
Definition at line 4001 of file cryptapi.c.
| C_RET cryptDeleteKey | ( | C_IN CRYPT_KEYSET | keyset, |
| C_IN CRYPT_KEYID_TYPE | keyIDtype, | ||
| C_IN C_STR | keyID | ||
| ) |
Definition at line 3734 of file cryptapi.c.
| C_RET cryptDestroyCert | ( | C_IN CRYPT_CERTIFICATE | certificate | ) |
Definition at line 2373 of file cryptapi.c.
| C_RET cryptDestroyContext | ( | C_IN CRYPT_CONTEXT | cryptContext | ) |
Definition at line 2377 of file cryptapi.c.
| C_RET cryptDestroyEnvelope | ( | C_IN CRYPT_ENVELOPE | cryptEnvelope | ) |
Definition at line 2381 of file cryptapi.c.
| C_RET cryptDestroyObject | ( | C_IN CRYPT_HANDLE | cryptHandle | ) |
Definition at line 2346 of file cryptapi.c.
| C_RET cryptDestroySession | ( | C_IN CRYPT_SESSION | session | ) |
Definition at line 2393 of file cryptapi.c.
| C_RET cryptDeviceClose | ( | C_IN CRYPT_DEVICE | device | ) |
Definition at line 2385 of file cryptapi.c.
| C_RET cryptDeviceCreateContext | ( | C_IN CRYPT_DEVICE | device, |
| C_OUT CRYPT_CONTEXT C_PTR | cryptContext, | ||
| C_IN CRYPT_ALGO_TYPE | cryptAlgo | ||
| ) |
Definition at line 1957 of file cryptapi.c.
| C_RET cryptDeviceOpen | ( | C_OUT CRYPT_DEVICE C_PTR | device, |
| C_IN CRYPT_USER | cryptUser, | ||
| C_IN CRYPT_DEVICE_TYPE | deviceType, | ||
| C_IN_OPT C_STR | name | ||
| ) |
Definition at line 2043 of file cryptapi.c.
| C_RET cryptDeviceQueryCapability | ( | C_IN CRYPT_DEVICE | device, |
| C_IN CRYPT_ALGO_TYPE | cryptAlgo, | ||
| C_OUT_OPT CRYPT_QUERY_INFO C_PTR | cryptQueryInfo | ||
| ) |
Definition at line 3859 of file cryptapi.c.
Definition at line 2745 of file cryptapi.c.
| C_RET cryptEnd | ( | void | ) |
Definition at line 1905 of file cryptapi.c.
| C_RET cryptExportCert | ( | C_OUT_OPT void C_PTR | certObject, |
| C_IN int | certObjectMaxLength, | ||
| C_OUT int C_PTR | certObjectLength, | ||
| C_IN CRYPT_CERTFORMAT_TYPE | certFormatType, | ||
| C_IN CRYPT_HANDLE | certificate | ||
| ) |
Definition at line 2945 of file cryptapi.c.
| C_RET cryptFlushData | ( | C_IN CRYPT_HANDLE | envelope | ) |
Definition at line 3359 of file cryptapi.c.
| C_RET cryptGenerateKey | ( | C_IN CRYPT_CONTEXT | cryptContext | ) |
Definition at line 2720 of file cryptapi.c.
| C_RET cryptGetAttribute | ( | C_IN CRYPT_HANDLE | cryptHandle, |
| C_IN CRYPT_ATTRIBUTE_TYPE | attributeType, | ||
| C_OUT int C_PTR | value | ||
| ) |
Definition at line 2410 of file cryptapi.c.
| C_RET cryptGetAttributeString | ( | C_IN CRYPT_HANDLE | cryptHandle, |
| C_IN CRYPT_ATTRIBUTE_TYPE | attributeType, | ||
| C_OUT void C_PTR | value, | ||
| C_OUT int C_PTR | valueLength | ||
| ) |
Definition at line 2446 of file cryptapi.c.
| C_RET cryptGetCertExtension | ( | C_IN CRYPT_CERTIFICATE | certificate, |
| C_IN char C_PTR | oid, | ||
| C_OUT int C_PTR | criticalFlag, | ||
| C_OUT void C_PTR | extension, | ||
| C_IN int | extensionMaxLength, | ||
| C_OUT int C_PTR | extensionLength | ||
| ) |
Definition at line 3983 of file cryptapi.c.
| C_RET cryptGetKey | ( | C_IN CRYPT_HANDLE | keyset, |
| C_OUT CRYPT_CONTEXT C_PTR | cryptContext, | ||
| C_IN CRYPT_KEYID_TYPE | keyIDtype, | ||
| C_IN C_STR | keyID, | ||
| C_IN C_STR | password | ||
| ) |
Definition at line 3553 of file cryptapi.c.
| C_RET cryptGetPrivateKey | ( | C_IN CRYPT_HANDLE | keyset, |
| C_OUT CRYPT_CONTEXT C_PTR | cryptContext, | ||
| C_IN CRYPT_KEYID_TYPE | keyIDtype, | ||
| C_IN C_STR | keyID, | ||
| C_IN C_STR | password | ||
| ) |
Definition at line 3467 of file cryptapi.c.
| C_RET cryptGetPublicKey | ( | C_IN CRYPT_KEYSET | keyset, |
| C_OUT CRYPT_HANDLE C_PTR | cryptKey, | ||
| C_IN CRYPT_KEYID_TYPE | keyIDtype, | ||
| C_IN_OPT C_STR | keyID | ||
| ) |
Definition at line 3390 of file cryptapi.c.
| C_RET cryptImportCert | ( | C_IN void C_PTR | certObject, |
| C_IN int | certObjectLength, | ||
| C_IN CRYPT_USER | cryptUser, | ||
| C_OUT CRYPT_CERTIFICATE C_PTR | certificate | ||
| ) |
Definition at line 2900 of file cryptapi.c.
| C_RET cryptInit | ( | void | ) |
Definition at line 1895 of file cryptapi.c.
| C_RET cryptKeysetClose | ( | C_IN CRYPT_KEYSET | keyset | ) |
Definition at line 2389 of file cryptapi.c.
| C_RET cryptKeysetOpen | ( | C_OUT CRYPT_KEYSET C_PTR | keyset, |
| C_IN CRYPT_USER | cryptUser, | ||
| C_IN CRYPT_KEYSET_TYPE | keysetType, | ||
| C_IN C_STR | name, | ||
| C_IN CRYPT_KEYOPT_TYPE | options | ||
| ) |
Definition at line 2160 of file cryptapi.c.
Definition at line 2275 of file cryptapi.c.
| C_RET cryptLogout | ( | C_IN CRYPT_USER | user | ) |
Definition at line 2397 of file cryptapi.c.
| C_RET cryptPopData | ( | C_IN CRYPT_ENVELOPE | envelope, |
| C_OUT void C_PTR | buffer, | ||
| C_IN int | length, | ||
| C_OUT int C_PTR | bytesCopied | ||
| ) |
Definition at line 3321 of file cryptapi.c.
| C_RET cryptPushData | ( | C_IN CRYPT_HANDLE | envelope, |
| C_IN void C_PTR | buffer, | ||
| C_IN int | length, | ||
| C_OUT int C_PTR | bytesCopied | ||
| ) |
Definition at line 3281 of file cryptapi.c.
| C_RET cryptQueryCapability | ( | C_IN CRYPT_ALGO_TYPE | cryptAlgo, |
| C_OUT_OPT CRYPT_QUERY_INFO C_PTR | cryptQueryInfo | ||
| ) |
Definition at line 3800 of file cryptapi.c.
| C_RET cryptSetAttribute | ( | C_IN CRYPT_HANDLE | cryptHandle, |
| C_IN CRYPT_ATTRIBUTE_TYPE | attributeType, | ||
| C_IN int | value | ||
| ) |
Definition at line 2511 of file cryptapi.c.
| C_RET cryptSetAttributeString | ( | C_IN CRYPT_HANDLE | cryptHandle, |
| C_IN CRYPT_ATTRIBUTE_TYPE | attributeType, | ||
| C_IN void C_PTR | value, | ||
| C_IN int | valueLength | ||
| ) |
Definition at line 2543 of file cryptapi.c.
| C_RET cryptSignCert | ( | C_IN CRYPT_CERTIFICATE | certificate, |
| C_IN CRYPT_CONTEXT | signContext | ||
| ) |
Definition at line 2832 of file cryptapi.c.
1.8.2