#include <QtCrypto>
PKCS#12 provider.
- Note
- This class is part of the provider plugin interface and should not be used directly by applications. You probably want KeyBundle instead.
| QCA::PKCS12Context::PKCS12Context |
( |
Provider * |
p | ) |
|
|
inline |
Standard constructor.
- Parameters
-
| p | the Provider associated with this context |
Create PKCS#12 DER output based on a set of input items.
Returns an empty array on error.
- Parameters
-
| name | the friendly name of the data |
| chain | the certificate chain to store |
| priv | the private key to store |
| passphrase | the passphrase to encrypt the PKCS#12 data with |
Read PKCS#12 DER input and convert it into a set of output items.
The caller is responsible for deleting the returned items.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
| in | the input data |
| passphrase | the passphrase needed to decrypt the input data |
| name | the destination string for the friendly name |
| chain | the destination list for the certificate chain |
| priv | address of a pointer to accept the private key |
The documentation for this class was generated from the following file: