PyCRYPT_ENCRYPT_MESSAGE_PARA Object

Dictionary of encryption parameters used with cryptoapi::CryptEncryptMessage

Properties

PyCRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm
Identifies the algorithm to be used

PyCRYPTPROV CryptProv
Optional. Handle to provider that will perform encryption, can be None for default provider

object EncryptionAuxInfo
Optional. Extra info required by some CSP's. Not supported yet, use only None

int Flags
Optional. Combination of CRYPT_MESSAGE_*_FLAG constants

int InnerContentType
Optional. Only used if message to be encrypted is already encoded

int MsgEncodingType
Optional. Defaults to X509_ASN_ENCODING combined with PKCS_7_ASN_ENCODING