Class S3SigningSecret
java.lang.Object
ecmwf.common.security.S3SigningSecret
-
Method Summary
-
Method Details
-
encrypt
public static String encrypt(String user, String secret) throws IOException, GeneralSecurityException - Throws:
IOExceptionGeneralSecurityException
-
decrypt
public static byte[] decrypt(String user, String stored) throws IOException, GeneralSecurityException - Throws:
IOExceptionGeneralSecurityException
-