Package | Description |
---|---|
net.messagevortex.asn1 |
Contains classes required for decoding and encoding vortex messages and represent
VortexMessages states.
|
net.messagevortex.asn1.encryption |
Modifier and Type | Method and Description |
---|---|
Mode |
AsymmetricKey.getMode()
Gets the mode used for encryption.
|
Mode |
SymmetricKey.getMode() |
Mode |
AsymmetricKey.setMode(Mode m)
Sets the mode used for encryption.
|
Modifier and Type | Method and Description |
---|---|
Mode |
AsymmetricKey.setMode(Mode m)
Sets the mode used for encryption.
|
Constructor and Description |
---|
SymmetricKey(Algorithm sk,
Padding pad,
Mode mode)
Creates a new symmetric key according to spec.
|
Modifier and Type | Method and Description |
---|---|
static Mode |
Mode.getById(int id)
Get enumeration element by its ASN.1 ID.
|
static Mode |
Mode.getByString(String name)
Get enumeration element by its name.
|
static Mode |
Mode.getDefault(AlgorithmType type)
Gets the currently set default value for the given type.
|
static Mode[] |
Mode.getModes(Algorithm alg)
Gets all cipher modes suitable for the specified algorithm.
|
static Mode |
Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mode[] |
Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2023. All rights reserved.