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 |
---|---|
Algorithm |
AsymmetricKey.getAlgorithm()
Gets the algorithm of this key type.
|
Algorithm |
SymmetricKey.getAlgorithm() |
Algorithm |
AsymmetricAlgorithmSpec.getAlgorithm()
Gets the algorithm (@see Algorithm).
|
Algorithm |
MacAlgorithm.getAlgorithm() |
Algorithm |
MacAlgorithm.setAlgorithm(Algorithm alg)
Sets the algorithm.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
MacAlgorithm.setAlgorithm(Algorithm alg)
Sets the algorithm.
|
byte[] |
AsymmetricKey.sign(byte[] b,
Algorithm mac)
Signs a byte array.
|
boolean |
AsymmetricKey.verify(byte[] b,
byte[] sig,
Algorithm mac)
Verifies a given signature accourding to the objects public key.
|
Constructor and Description |
---|
AsymmetricAlgorithmSpec(Algorithm alg,
AlgorithmParameter params) |
InnerMessageBlock(Algorithm sym,
AsymmetricKey asym) |
MacAlgorithm(Algorithm a)
constructor to creates a mac algorith from an ASN.1 encoded object.
|
SymmetricKey(Algorithm sk) |
SymmetricKey(Algorithm sk,
Padding pad,
Mode mode)
Creates a new symmetric key according to spec.
|
Modifier and Type | Method and Description |
---|---|
static Algorithm[] |
Algorithm.getAlgorithms(AlgorithmType at)
Return a list of algorithms of the specified type.
|
static Algorithm |
Algorithm.getById(int id)
Look up an algorithm by id.
|
static Algorithm |
Algorithm.getByString(String s)
Look up an algorithm by its identification string.
|
static Algorithm |
Algorithm.getDefault(AlgorithmType at)
Look up the default algorithm to be used on the system.
|
static Algorithm |
Algorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
Algorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Mode[] |
Mode.getModes(Algorithm alg)
Gets all cipher modes suitable for the specified algorithm.
|
Copyright © 2023. All rights reserved.