docs
4.12
customSourceSet
docs
/
net.corda.testing.node.internal
/
MockEncryptionService
Mock
Encryption
Service
class
MockEncryptionService
(
aesKey
:
SecretKey
=
AesEncryption.randomKey()
)
Members
Constructors
Mock
Encryption
Service
Link copied to clipboard
constructor
(
aesKey
:
SecretKey
=
AesEncryption.randomKey()
)
Functions
decrypt
Link copied to clipboard
open
fun
decrypt
(
ciphertext
:
ByteArray
)
:
<Error class: unknown class>
encrypt
Link copied to clipboard
open
fun
encrypt
(
plaintext
:
ByteArray
,
additionalData
:
ByteArray
?
)
:
ByteArray
extract
Unauthenticated
Additional
Data
Link copied to clipboard
open
fun
extractUnauthenticatedAdditionalData
(
ciphertext
:
ByteArray
)
:
ByteArray
?