Package | Description |
---|---|
net.messagevortex.asn1 |
Contains classes required for decoding and encoding vortex messages and represent
VortexMessages states.
|
Modifier and Type | Method and Description |
---|---|
AsymmetricKey |
PrefixBlock.getDecryptionKey() |
AsymmetricKey |
VortexMessage.getDecryptionKey()
Set the currently set encryption/decryption decryptionKey (asymmetric).
|
AsymmetricKey |
IdentityStore.getHostIdentity()
Get the own identity key.
|
AsymmetricKey |
IdentityStoreBlock.getIdentityKey()
get the currently set identity key.
|
AsymmetricKey |
IdentityBlock.getIdentityKey()
Gets the identity representation (asymmetric key) of the block.
|
AsymmetricKey |
IdentityStoreBlock.getNodeKey()
Getting the currently set node key.
|
AsymmetricKey |
IdentityBlock.getOwnIdentity()
Gets the identity representation (asymmetric key) of the block.
|
static AsymmetricKey |
AsymmetricKeyPreCalculator.getPrecomputedAsymmetricKey(AlgorithmParameter parameters)
retrieves a precomputed key from the cache.
|
AsymmetricKey |
AsymmetricKeyCache.peek(AlgorithmParameter parameter)
Gets a precalculated key from the cache without removing it.
|
AsymmetricKey |
AsymmetricKeyCache.pull(AlgorithmParameter parameter)
Gets a precalculated key from the cache.
|
AsymmetricKey |
PrefixBlock.setDecryptionKey(AsymmetricKey dk)
Sets the decryption key for the prefix block.
|
AsymmetricKey |
VortexMessage.setDecryptionKey(AsymmetricKey dk)
Set the encryption/decryption decryptionKey.
|
AsymmetricKey |
IdentityStore.setHostIdentity(AsymmetricKey identity)
Sets the owned key.
|
AsymmetricKey |
IdentityStoreBlock.setIdentityKey(AsymmetricKey k)
Set a new identity key.
|
AsymmetricKey |
IdentityBlock.setIdentityKey(AsymmetricKey oid)
Sets the identity representation (asymmetric key) of the block.
|
AsymmetricKey |
IdentityStoreBlock.setNodeKey(AsymmetricKey k)
Setting the current node key.
|
AsymmetricKey |
IdentityBlock.setOwnIdentity(AsymmetricKey oid)
Sets the identity representation (asymmetric key) of the block.
|
Modifier and Type | Method and Description |
---|---|
protected void |
InnerMessageBlock.parse(org.bouncycastle.asn1.ASN1Encodable o,
AsymmetricKey decryptionKey) |
protected void |
InnerMessageBlock.parse(byte[] p,
AsymmetricKey decryptionKey) |
void |
AsymmetricKeyCache.push(AsymmetricKey key)
store a precalculated key into the cache.
|
AsymmetricKey |
PrefixBlock.setDecryptionKey(AsymmetricKey dk)
Sets the decryption key for the prefix block.
|
AsymmetricKey |
VortexMessage.setDecryptionKey(AsymmetricKey dk)
Set the encryption/decryption decryptionKey.
|
AsymmetricKey |
IdentityStore.setHostIdentity(AsymmetricKey identity)
Sets the owned key.
|
AsymmetricKey |
IdentityStoreBlock.setIdentityKey(AsymmetricKey k)
Set a new identity key.
|
AsymmetricKey |
IdentityBlock.setIdentityKey(AsymmetricKey oid)
Sets the identity representation (asymmetric key) of the block.
|
AsymmetricKey |
IdentityStoreBlock.setNodeKey(AsymmetricKey k)
Setting the current node key.
|
AsymmetricKey |
IdentityBlock.setOwnIdentity(AsymmetricKey oid)
Sets the identity representation (asymmetric key) of the block.
|
org.bouncycastle.asn1.ASN1Object |
IdentityBlock.toAsn1Object(DumpType dumpType,
AsymmetricKey targetIdentity)
Dumps the identity block as ASN.1 der encoded object.
|
Constructor and Description |
---|
AsymmetricKey(AsymmetricKey ak)
Copy Constructor.
|
IdentityBlock(org.bouncycastle.asn1.ASN1Encodable to,
AsymmetricKey ownIdentity)
Create object from encrypted ASN.1 code.
|
IdentityBlock(AsymmetricKey key)
Generates a new IdentityBlock for the given key.
|
IdentityBlock(byte[] b,
AsymmetricKey ownIdentity)
Parses the given identity block using the specified key.
|
InnerMessageBlock(Algorithm sym,
AsymmetricKey asym) |
InnerMessageBlock(byte[] b,
AsymmetricKey decryptionKey) |
PrefixBlock(org.bouncycastle.asn1.ASN1Primitive to,
AsymmetricKey ak)
Creates a prefix by parsing to in plan (unencrypted).
|
PrefixBlock(byte[] to,
AsymmetricKey ak)
Creates a prefix from the provided byte array by decyphering it with the provided key.
|
SymmetricKey(byte[] sk,
AsymmetricKey deckey)
creates a new symmetric key from the given PKCS#1 blob.
|
VortexMessage(byte[] b,
AsymmetricKey dk)
Parses a byte array to a VortexMessage.
|
VortexMessage(InputStream is,
AsymmetricKey dk)
Parses a byte array to a VortexMessage.
|
Copyright © 2023. All rights reserved.