toggle menu
cryptography-kotlin
0.4.0
common
switch theme
search in API
cryptography-provider-base
/
dev.whyoleg.cryptography.providers.base.operations
/
BaseAuthenticatedDecryptor
Base
Authenticated
Decryptor
interface
BaseAuthenticatedDecryptor
:
AuthenticatedDecryptor
,
BaseDecryptor
(
source
)
Inheritors
BaseAesIvAuthenticatedDecryptor
BaseAuthenticatedCipher
Members
Functions
create
Decrypt
Function
Link copied to clipboard
open
override
fun
createDecryptFunction
(
)
:
CipherFunction
abstract
fun
createDecryptFunction
(
associatedData
:
ByteArray
?
)
:
CipherFunction
decrypt
Link copied to clipboard
open
suspend override
fun
decrypt
(
ciphertext
:
ByteArray
)
:
ByteArray
open
suspend override
fun
decrypt
(
ciphertext
:
ByteString
)
:
ByteString
open
suspend
fun
decrypt
(
ciphertext
:
ByteArray
,
associatedData
:
ByteArray
?
)
:
ByteArray
open
suspend
fun
decrypt
(
ciphertext
:
ByteString
,
associatedData
:
ByteString
?
)
:
ByteString
decrypt
Blocking
Link copied to clipboard
open
override
fun
decryptBlocking
(
ciphertext
:
ByteString
)
:
ByteString
open
fun
decryptBlocking
(
ciphertext
:
ByteString
,
associatedData
:
ByteString
?
)
:
ByteString
open
override
fun
decryptBlocking
(
ciphertext
:
ByteArray
)
:
ByteArray
open
override
fun
decryptBlocking
(
ciphertext
:
ByteArray
,
associatedData
:
ByteArray
?
)
:
ByteArray
decrypting
Sink
Link copied to clipboard
open
fun
decryptingSink
(
plaintext
:
RawSink
,
associatedData
:
ByteString
?
)
:
RawSink
open
override
fun
decryptingSink
(
plaintext
:
RawSink
)
:
RawSink
open
override
fun
decryptingSink
(
plaintext
:
RawSink
,
associatedData
:
ByteArray
?
)
:
RawSink
decrypting
Source
Link copied to clipboard
open
fun
decryptingSource
(
ciphertext
:
RawSource
,
associatedData
:
ByteString
?
)
:
RawSource
open
override
fun
decryptingSource
(
ciphertext
:
RawSource
)
:
RawSource
open
override
fun
decryptingSource
(
ciphertext
:
RawSource
,
associatedData
:
ByteArray
?
)
:
RawSource