Uses of Class
net.messagevortex.asn1.AsymmetricKey
Packages that use AsymmetricKey
Package
Description
Contains classes required for decoding and encoding vortex messages and represent
VortexMessages states.
-
Uses of AsymmetricKey in net.messagevortex.asn1
Methods in net.messagevortex.asn1 that return AsymmetricKeyModifier and TypeMethodDescriptionfinal AsymmetricKeyPrefixBlock.getDecryptionKey()final AsymmetricKeyVortexMessage.getDecryptionKey()Set the currently set encryption/decryption decryptionKey (asymmetric).IdentityStore.getHostIdentity()Get the own identity key.IdentityBlock.getIdentityKey()Gets the identity representation (asymmetric key) of the block.IdentityStoreBlock.getIdentityKey()get the currently set identity key.IdentityStoreBlock.getNodeKey()Getting the currently set node key.IdentityBlock.getOwnIdentity()Gets the identity representation (asymmetric key) of the block.static AsymmetricKeyAsymmetricKeyPreCalculator.getPrecomputedAsymmetricKey(AlgorithmParameter parameters) retrieves a precomputed key from the cache.AsymmetricKeyCache.peek(AlgorithmParameter parameter) Gets a precalculated key from the cache without removing it.AsymmetricKeyCache.pull(AlgorithmParameter parameter) Gets a precalculated key from the cache.final AsymmetricKeyPrefixBlock.setDecryptionKey(AsymmetricKey dk) Sets the decryption key for the prefix block.final AsymmetricKeyVortexMessage.setDecryptionKey(AsymmetricKey dk) Set the encryption/decryption decryptionKey.IdentityStore.setHostIdentity(AsymmetricKey identity) Sets the owned key.IdentityBlock.setIdentityKey(AsymmetricKey oid) Sets the identity representation (asymmetric key) of the block.IdentityStoreBlock.setIdentityKey(AsymmetricKey k) Set a new identity key.IdentityStoreBlock.setNodeKey(AsymmetricKey k) Setting the current node key.IdentityBlock.setOwnIdentity(AsymmetricKey oid) Sets the identity representation (asymmetric key) of the block.Methods in net.messagevortex.asn1 with parameters of type AsymmetricKeyModifier and TypeMethodDescriptionprotected final voidInnerMessageBlock.parse(byte[] p, AsymmetricKey decryptionKey) protected final voidInnerMessageBlock.parse(org.bouncycastle.asn1.ASN1Encodable o, AsymmetricKey decryptionKey) voidAsymmetricKeyCache.push(AsymmetricKey key) store a precalculated key into the cache.final AsymmetricKeyPrefixBlock.setDecryptionKey(AsymmetricKey dk) Sets the decryption key for the prefix block.final AsymmetricKeyVortexMessage.setDecryptionKey(AsymmetricKey dk) Set the encryption/decryption decryptionKey.IdentityStore.setHostIdentity(AsymmetricKey identity) Sets the owned key.IdentityBlock.setIdentityKey(AsymmetricKey oid) Sets the identity representation (asymmetric key) of the block.IdentityStoreBlock.setIdentityKey(AsymmetricKey k) Set a new identity key.IdentityStoreBlock.setNodeKey(AsymmetricKey k) Setting the current node key.IdentityBlock.setOwnIdentity(AsymmetricKey oid) Sets the identity representation (asymmetric key) of the block.org.bouncycastle.asn1.ASN1ObjectIdentityBlock.toAsn1Object(DumpType dumpType, AsymmetricKey targetIdentity) Dumps the identity block as ASN.1 der encoded object.Constructors in net.messagevortex.asn1 with parameters of type AsymmetricKeyModifierConstructorDescriptionCopy Constructor.IdentityBlock(byte[] b, AsymmetricKey ownIdentity) Parses the given identity block using the specified key.Generates a new IdentityBlock for the given key.IdentityBlock(org.bouncycastle.asn1.ASN1Encodable to, AsymmetricKey ownIdentity) Create object from encrypted ASN.1 code.InnerMessageBlock(byte[] b, AsymmetricKey decryptionKey) InnerMessageBlock(Algorithm sym, AsymmetricKey asym) PrefixBlock(byte[] to, AsymmetricKey ak) Creates a prefix from the provided byte array by decyphering it with the provided key.PrefixBlock(org.bouncycastle.asn1.ASN1Primitive to, AsymmetricKey ak) Creates a prefix by parsing to in plan (unencrypted).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.