class documentation
It contains encryption and compression information in it using which application can decrypt consumed message with encrypted-payload.
| Method | __init__ |
Create EncryptionContext instance. |
| Method | __repr__ |
Undocumented |
| Method | __str__ |
Undocumented |
| Method | algorithm |
Returns the encryption algorithm. |
| Method | batch |
Returns the number of messages in the batch or -1 if the message is not batched. |
| Method | compression |
Returns the compression type of the message. |
| Method | is |
Returns whether decryption has failed for this message. |
| Method | keys |
Returns all EncryptionKey instances when performing encryption. |
| Method | param |
Returns the encryption param bytes. |
| Method | uncompressed |
Returns the uncompressed message size or 0 if the compression type is NONE. |
| Instance Variable | _context |
Undocumented |
Create EncryptionContext instance.
| Parameters | |
context:_pulsar.EncryptionContext | The underlying EncryptionContext instance from the C extension. |