public interface EncryptionKeyFactory<K,KP>
Interface for creation of encryption key.
These interfaces should be generic enough so they can be used by any encryption engine. That means that given
generic should NOT be implementation specific so they can be used in generic builders. This sometimes may lead into
simple passing of values (e.g. RSAKeyParams.
SymmetricEncryptionEngineFactory,
AsymmetricEncryptionEngineFactory| Modifier and Type | Method and Description |
|---|---|
K |
newKey(KP keyParams)
Creates a new key.
|
K newKey(KP keyParams) throws EncryptionException
keyParams - parameters for creation of keyEncryptionException - exception if key cannot be createdCopyright © 2019. All rights reserved.