Module org.refcodes.forwardsecrecy
Package org.refcodes.forwardsecrecy
package org.refcodes.forwardsecrecy
This artifacts provides you means to produce high throughput of symmetric
encryption of data securing it with an asymmetric encryption approach -
giving you the speed of symmetric encryption and the security of asymmetric
(public/private-key) encryption. It seamlessly works together with the
refcodes-logger
toolkit enabling you to log vast amounts of information in an effective and
protected manner.
Please refer to the refcodes-forwardsecrecy: High encryption throughput documentation for an up-to-date and detailed description on the usage of this artifact.
-
ClassDescriptionAbstractCipherVersionGenerator<CV extends CipherVersion>Default implementation of a cipher version generator.Abstract base implementation for non abstract
DecryptionService
implementations.Abstract base implementation for non abstractEncryptionService
implementations.ACipherVersion
represents a cipher (used for symmetric encryption respectively decryption) related to a cypher's version (UID).CipherVersionFactory<CV extends CipherVersion>As requirements might arise to useCipherVersion
instances with additional attributes or functionality; theCipherVersionFactory
can be replaced with a custom implementation instantiatingCipherVersion
(sub-)types with the additional required attributes or functionality.Default implementation of aCipherVersionFactory
creatingCipherVersion
instances.CipherVersionGenerator<CV extends CipherVersion>Depending on the security demands and performance issues; theGenerator
generatingCipherVersion
instances can be replaced with a customCipherVersionGenerator
using its own approach generating ciphers and cipher UIDs (CipherVersion
instances).Implementation if theAbstractCipherVersionGenerator
for the usage of plainCipherVersion
instances.The Class CipherVersionImpl.The Class DecryptCipherRuntimeException.TheDecryptionProvider
is bound to a namespace and is being used by the business logic to decrypt data.This class is a basic implementation of theDecryptionProvider
interface.TheDecryptionServer
containsCipherVersion
instances assigned to a namespace.ADecryptionService
is bound to a single namespace and provides cipher versions required for decrypting text by theDecryptionProvider
.The Class EncryptCipherRuntimeException.TheEncryptionProvider
is bound to a namespace and is being used by the business logic to encrypt data.This class is a basic implementation of theEncryptionProvider
interface.TheEncryptionServer
takesCipherVersion
instances generated by anEncryptionService
for a provided namespace.AnEncryptionService
is bound to a single namespace and creates uniqueCipherVersion
instances for that namespace.The Class ForwardSecrecyDecryptionException.The Class ForwardSecrecyException.The Class ForwardSecrecyRuntimeException.The Class ForwardSecrecyUtility.TheInMemoryDecryptionServer
is a non-persisting implementation of theDecryptionServer
managing theCipherVersion
instances in memory only.TheInMemoryEncryptionServer
is a non-persisting implementation of theEncryptionServer
managing theCipherVersion
instances in memory only.Deprecated.Deprecated.To prevent accidental use in productive environment this insecure implementation of theEncryptionService
has been marked as being deprecated; please use only for testing purposes.The Class NoCipherUidException.Wraps a decryption server and provides asymmetric encryption support.TheDecryptionService
retrievesCipherVersion
instances from theDecryptionServer
and is decrypting the ciphers contained in theCipherVersion
instances with a private key.This Encryption-Service uses a public key for an asymmetric encryption algorithm in order to encrypt any ciphers being generated before them ciphers are passed to the Encryption-Server which persists them cipher versions with the cipher UID and the encrypted cipher.The Class SignatureException.The Class SignatureRuntimeException.The Class SignatureVerificationException.The Class SignatureVerificationRuntimeException.This exception is the base runtime exception for the directory artifact.The Class UnknownCipherUidException.
DecryptionService
has been marked as being deprecated; please use only for testing purposes.