cryptlib
3.4.1
|
Go to the source code of this file.
Classes | |
struct | PKCS12_OBJECT_INFO |
struct | PKCS12_INFO |
Macros | |
#define | MAX_PKCS12_OBJECTS 8 |
#define | MIN_KEYING_ITERATIONS 1000 |
#define | MIN_OBJECT_SIZE 64 |
#define | KEYWRAP_ID_WRAPKEY 1 |
#define | KEYWRAP_ID_IV 2 |
#define | KEYWRAP_ID_MACKEY 3 |
#define | KEYWRAP_SALTSIZE 8 |
#define | PKCS12_FLAG_NONE 0x00 |
#define | PKCS12_FLAG_CERT 0x01 /* Object is certificate */ |
#define | PKCS12_FLAG_ENCCERT 0x02 /* Object is encrypted cert. */ |
#define | PKCS12_FLAG_PRIVKEY 0x04 /* Object is encrypted priv.key */ |
#define | PKCS12_FLAG_MAX 0x07 |
Functions | |
CHECK_RETVAL_PTR | STDC_NONNULL_ARG ((1)) PKCS12_INFO *pkcs12FindEntry(IN_ARRAY(noPkcs12objects) const PKCS12_INFO *pkcs12info |
CHECK_RETVAL_PTR IN_LENGTH_SHORT const int IN_KEYID const CRYPT_KEYID_TYPE | IN_BUFFER_OPT (keyIDlength) const void *keyID |
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 3, 5)) int createPkcs12KeyWrapContext(INOUT PKCS12_OBJECT_INFO *pkcs12objectInfo |
CHECK_RETVAL IN_HANDLE const CRYPT_USER | IN_BUFFER (passwordLength) const char *password |
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2, 5)) int pkcs12ReadKeyset(INOUT STREAM *stream |
CHECK_RETVAL | OUT_ARRAY (maxNoPkcs12objects) PKCS12_INFO *pkcs12info |
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2, 4)) int pkcs12ReadObject(INOUT STREAM *stream |
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2)) int pkcs12Flush(INOUT STREAM *stream |
CHECK_RETVAL | IN_ARRAY (noPkcs12objects) const PKCS12_INFO *pkcs12info |
#define PKCS12_FLAG_ENCCERT 0x02 /* Object is encrypted cert. */ |
#define PKCS12_FLAG_PRIVKEY 0x04 /* Object is encrypted priv.key */ |
CHECK_RETVAL IN_ARRAY | ( | noPkcs12objects | ) | const |
CHECK_RETVAL IN_HANDLE const CRYPT_USER IN_BUFFER | ( | passwordLength | ) | const |
CHECK_RETVAL_PTR IN_LENGTH_SHORT const int IN_KEYID const CRYPT_KEYID_TYPE IN_BUFFER_OPT | ( | keyIDlength | ) | const |
CHECK_RETVAL OUT_ARRAY | ( | maxNoPkcs12objects | ) |
CHECK_RETVAL_PTR STDC_NONNULL_ARG | ( | (1) | ) | const |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 3, 5) | ) |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 2, 5) | ) |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 2, 4) | ) |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 2) | ) |
CHECK_RETVAL IN_HANDLE const CRYPT_USER cryptOwner |
CHECK_RETVAL IN_LENGTH_SHORT const int IN_LENGTH const long endPos |
CHECK_RETVAL OUT PKCS12_INFO const BOOLEAN INOUT ERROR_INFO* errorInfo |
CHECK_RETVAL IN_LENGTH_SHORT const int OUT_OPT_LENGTH_SHORT_Z int* index |
CHECK_RETVAL IN_HANDLE const CRYPT_USER IN_LENGTH_NAME const int OUT_HANDLE_OPT CRYPT_CONTEXT const BOOLEAN initParams |
CHECK_RETVAL OUT PKCS12_INFO const BOOLEAN isEncryptedCert |
CHECK_RETVAL_PTR IN_LENGTH_SHORT const int IN_KEYID const CRYPT_KEYID_TYPE IN_LENGTH_KEYID_Z const int keyIDlength |
CHECK_RETVAL_PTR IN_LENGTH_SHORT const int IN_KEYID const CRYPT_KEYID_TYPE keyIDtype |
CHECK_RETVAL IN_LENGTH_SHORT const int maxNoPkcs12objects |
CHECK_RETVAL IN_LENGTH_SHORT const int noPkcs12objects |
CHECK_RETVAL INOUT CMP_PROTOCOL_INFO IN_LENGTH_SHORT const int passwordLength |
CHECK_RETVAL OUT PKCS12_INFO* pkcs12info |