public abstract class BaseStringDecryptor extends BaseCryptor implements StringDecryptor
BaseStringDecryptor is a base implementation of the
StringDecryptor.model| Constructor and Description |
|---|
BaseStringDecryptor(de.alpharogroup.crypto.model.CryptModel<Cipher,String> model)
Constructor with the given
CryptModel. |
BaseStringDecryptor(String privateKey)
Constructor with a private key.
|
newCipher, newCipher, newKeySpecnewAlgorithm, newAlgorithmParameterSpec, newCipher, newIterationCount, newSalt, newSecretKeyFactory, onInitializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecrypt, newOperationModepublic BaseStringDecryptor(String privateKey) throws InvalidKeyException, NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, InvalidAlgorithmParameterException, UnsupportedEncodingException
privateKey - The private key.InvalidAlgorithmParameterException - is thrown if initialization of the cypher object fails.NoSuchPaddingException - is thrown if instantiation of the SecretKeyFactory object fails.InvalidKeySpecException - is thrown if generation of the SecretKey object fails.NoSuchAlgorithmException - is thrown if instantiation of the SecretKeyFactory object fails.InvalidKeyException - is thrown if initialization of the cypher object fails.UnsupportedEncodingException - is thrown if the named charset is not supported.public BaseStringDecryptor(de.alpharogroup.crypto.model.CryptModel<Cipher,String> model) throws InvalidKeyException, NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, InvalidAlgorithmParameterException, UnsupportedEncodingException
CryptModel.model - The crypt model.InvalidAlgorithmParameterException - is thrown if initialization of the cypher object fails.NoSuchPaddingException - is thrown if instantiation of the SecretKeyFactory object fails.InvalidKeySpecException - is thrown if generation of the SecretKey object fails.NoSuchAlgorithmException - is thrown if instantiation of the SecretKeyFactory object fails.InvalidKeyException - is thrown if initialization of the cypher object fails.NoSuchAlgorithmException - is thrown if instantiation of the SecretKeyFactory object fails.UnsupportedEncodingException - is thrown if the named charset is not supported.Copyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.