All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ulisesbocchio.jasyptspringboot.encryptor.SimpleAsymmetricStringEncryptor Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package com.ulisesbocchio.jasyptspringboot.encryptor;

/**
 * {@link org.jasypt.encryption.StringEncryptor} version of {@link SimpleAsymmetricByteEncryptor} that just relies on
 * delegation from {@link ByteEncryptorStringEncryptorDelegate} and provides a constructor for {@link SimpleAsymmetricConfig}
 *
 * @author Ulises Bocchio
 */
public class SimpleAsymmetricStringEncryptor extends ByteEncryptorStringEncryptorDelegate {

    public SimpleAsymmetricStringEncryptor(SimpleAsymmetricByteEncryptor delegate) {
        super(delegate);
    }

    public SimpleAsymmetricStringEncryptor(SimpleAsymmetricConfig config) {
        super(new SimpleAsymmetricByteEncryptor(config));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy