/
lib
/
python3.9
/
site-packages
/
oci
/
encryption
/
__pycache__
/
Upload File
HOME
a ���f� � @ sD d dl mZ d dlZG dd� de�Ze�ej�G dd� de��ZdS )� )�sixNc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �CryptoResultzB The result of an SDK encryption or decryption operation. c C s || _ || _dS )a Creates a CryptoResult object. :param bytes data: The encrypted or decrypted bytes associated with this CryptoResult. :param dict encryption_context: The encryption_context associated with this CryptoResult. N)�_data�_encryption_context)�self�dataZencryption_context� r �9/usr/lib/python3.9/site-packages/oci/encryption/models.py�__init__ s zCryptoResult.__init__c C s | j S )zt Returns the encrypted or decrypted bytes associated with this CryptoResult. :rtype: bytes )r �r r r r �get_data s zCryptoResult.get_datac C s | j S )a& Returns the encryption context associated with this CryptoResult. Note that the SDK may internally add keys to the encryption context so the context returned is guaranteed to be a superset of the context passed in but not an exact match. :rtype: dict )r r r r r �get_encryption_context"