org.owasp.esapi.Encryptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of findsecbugs-plugin-deps Show documentation
Show all versions of findsecbugs-plugin-deps Show documentation
This module create facades for all the APIs (classes, interfaces and annotations)
that are use in the test code. The objective is to avoid the needed to download
all the framework supported by the static analyzer.
package org.owasp.esapi;
import org.owasp.esapi.crypto.CipherText;
import org.owasp.esapi.crypto.PlainText;
import org.owasp.esapi.errors.EncryptionException;
import javax.crypto.SecretKey;
public interface Encryptor {
void encrypt(PlainText pt) throws EncryptionException;
void encrypt(SecretKey secretKey, PlainText pt) throws EncryptionException;
void encrypt(String pt) throws EncryptionException;
void decrypt(CipherText ct);
void decrypt(SecretKey secretKey, CipherText ct);
void decrypt(String ct);
}