com.genexus.cryptography.encryption.asymmetric.IGXAsymEncryption Maven / Gradle / Ivy
package com.genexus.cryptography.encryption.asymmetric;
import com.genexus.cryptography.exception.EncryptionException;
import com.genexus.cryptography.exception.PrivateKeyNotFoundException;
import com.genexus.cryptography.exception.PublicKeyNotFoundException;
public interface IGXAsymEncryption {
// / Unknown error
// occured.
// / Certificate has not
// been loaded
String encrypt(String data) throws PublicKeyNotFoundException, EncryptionException;
// / Unknown error
// occured.
// / Certificate has not
// been loaded.
// / The certificate specified
// does not contain private key needed to decrypt.
String decrypt(String data) throws PrivateKeyNotFoundException, EncryptionException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy