|
69 | 69 | class _ClientConfig(object):
|
70 | 70 | """Parent configuration object for StreamEncryptor and StreamDecryptor objects.
|
71 | 71 |
|
| 72 | + .. versionadded:: 1.5.0 |
| 73 | + The *keyring* parameter. |
| 74 | +
|
72 | 75 | :param source: Source data to encrypt or decrypt
|
73 | 76 | :type source: str, bytes, io.IOBase, or file
|
74 | 77 | :param CryptoMaterialsManager materials_manager:
|
@@ -314,6 +317,9 @@ def next(self):
|
314 | 317 | class EncryptorConfig(_ClientConfig):
|
315 | 318 | """Configuration object for StreamEncryptor class.
|
316 | 319 |
|
| 320 | + .. versionadded:: 1.5.0 |
| 321 | + The *keyring* parameter. |
| 322 | +
|
317 | 323 | :param source: Source data to encrypt or decrypt
|
318 | 324 | :type source: str, bytes, io.IOBase, or file
|
319 | 325 | :param CryptoMaterialsManager materials_manager:
|
@@ -365,6 +371,9 @@ class StreamEncryptor(_EncryptionStream): # pylint: disable=too-many-instance-a
|
365 | 371 | .. note::
|
366 | 372 | If config is provided, all other parameters are ignored.
|
367 | 373 |
|
| 374 | + .. versionadded:: 1.5.0 |
| 375 | + The *keyring* parameter. |
| 376 | +
|
368 | 377 | :param config: Client configuration object (config or individual parameters required)
|
369 | 378 | :type config: aws_encryption_sdk.streaming_client.EncryptorConfig
|
370 | 379 | :param source: Source data to encrypt or decrypt
|
@@ -674,6 +683,9 @@ def close(self):
|
674 | 683 | class DecryptorConfig(_ClientConfig):
|
675 | 684 | """Configuration object for StreamDecryptor class.
|
676 | 685 |
|
| 686 | + .. versionadded:: 1.5.0 |
| 687 | + The *keyring* parameter. |
| 688 | +
|
677 | 689 | :param source: Source data to encrypt or decrypt
|
678 | 690 | :type source: str, bytes, io.IOBase, or file
|
679 | 691 | :param CryptoMaterialsManager materials_manager:
|
@@ -710,6 +722,9 @@ class StreamDecryptor(_EncryptionStream): # pylint: disable=too-many-instance-a
|
710 | 722 | .. note::
|
711 | 723 | If config is provided, all other parameters are ignored.
|
712 | 724 |
|
| 725 | + .. versionadded:: 1.5.0 |
| 726 | + The *keyring* parameter. |
| 727 | +
|
713 | 728 | :param config: Client configuration object (config or individual parameters required)
|
714 | 729 | :type config: aws_encryption_sdk.streaming_client.DecryptorConfig
|
715 | 730 | :param source: Source data to encrypt or decrypt
|
|
0 commit comments