TextBase64DecodePolicy Class
Message decoding policy for base 64-encoded messages into text.
Decodes base64-encoded messages to text (unicode). If the input content is not valid base 64, a DecodeError will be raised. Message data must support UTF-8.
- Inheritance
-
azure.storage.queue._message_encoding.MessageDecodePolicyTextBase64DecodePolicy
Constructor
TextBase64DecodePolicy()
Methods
configure | |
decode |
configure
configure(require_encryption: bool, key_encryption_key: KeyEncryptionKey | None, resolver: Callable[[str], KeyEncryptionKey] | None) -> None
Parameters
Name | Description |
---|---|
require_encryption
Required
|
|
key_encryption_key
Required
|
|
resolver
Required
|
|
decode
decode(content: str, response: PipelineResponse) -> str
Parameters
Name | Description |
---|---|
content
Required
|
|
response
Required
|
|
Attributes
key_encryption_key
The user-provided key-encryption-key.
key_encryption_key: KeyEncryptionKey | None = None
require_encryption
Indicates whether encryption is required or not.
require_encryption: bool = False
resolver
The user-provided key resolver.
resolver: Callable[[str], KeyEncryptionKey] | None = None
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Python