PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.encryption
/
EncryptionManager
Encryption
Manager
interface
EncryptionManager
Manages encryption algorithms.
Members
Functions
create
Link copied to clipboard
@
NotNull
abstract
fun
create
(
@
NotNull
name
:
@
NotNull
String
,
data
:
Array
<
Byte
>
)
:
@
NotNull
Encryption
Creates a new encryption instance using the specified encryption algorithm and provided key data.
get
Algorithms
Link copied to clipboard
abstract
fun
getAlgorithms
(
)
:
Collection
<
EncryptionSupplier
>
Gets a collection of registered encryption algorithms.
register
Link copied to clipboard
abstract
fun
register
(
@
NotNull
supplier
:
@
NotNull
EncryptionSupplier
)
Registers an encryption algorithm.
unregister
Link copied to clipboard
abstract
fun
unregister
(
@
NotNull
name
:
@
NotNull
String
)
:
Boolean
Unregisters an encryption algorithm by its name.
abstract
fun
unregister
(
@
NotNull
supplier
:
@
NotNull
EncryptionSupplier
)
:
Boolean
Unregisters an encryption algorithm supplier.