Lines Matching defs:bytes
56 private_keyset: bytes) -> bytes:
66 keyset: bytes) -> str:
85 encrypted_keyset: bytes, master_keyset: bytes,
86 associated_data: Optional[bytes],
102 def keyset_write_encrypted(stub: testing_api_pb2_grpc.KeysetStub, keyset: bytes,
103 master_keyset: bytes,
104 associated_data: Optional[bytes],
130 keyset: bytes) -> str:
142 keyset: bytes, annotations: Optional[Dict[str, str]]) -> None:
155 def encrypt(self, plaintext: bytes, associated_data: bytes) -> bytes:
166 def decrypt(self, ciphertext: bytes, associated_data: bytes) -> bytes:
182 stub: testing_api_pb2_grpc.DeterministicAeadStub, keyset: bytes,
195 def encrypt_deterministically(self, plaintext: bytes,
196 associated_data: bytes) -> bytes:
208 def decrypt_deterministically(self, ciphertext: bytes,
209 associated_data: bytes) -> bytes:
226 keyset: bytes) -> None:
238 associated_data: bytes) -> BinaryIO:
250 associated_data: bytes) -> BinaryIO:
266 keyset: bytes, annotations: Optional[Dict[str, str]]) -> None:
278 def compute_mac(self, data: bytes) -> bytes:
288 def verify_mac(self, mac_value: bytes, data: bytes) -> None:
303 public_handle: bytes, annotations: Optional[Dict[str,
317 def encrypt(self, plaintext: bytes, context_info: bytes) -> bytes:
334 private_handle: bytes, annotations: Optional[Dict[str,
348 def decrypt(self, ciphertext: bytes, context_info: bytes) -> bytes:
365 private_handle: bytes, annotations: Optional[Dict[str,
379 def sign(self, data: bytes) -> bytes:
395 public_handle: bytes, annotations: Optional[Dict[str,
409 …def verify(self, signature: bytes, data: bytes) -> None: # pytype: disable=signature-mismatch # …
425 keyset: bytes, key_id: int,
433 def compute(self, input_data: bytes, output_length: int) -> bytes:
450 keyset: bytes, annotations: Optional[Dict[str, str]]) -> None:
636 keyset: bytes) -> None:
685 keyset: bytes) -> None:
711 keyset: bytes) -> None: