001package com.gigya.android.sdk.encryption; 002 003import java.security.Key; 004 005import javax.crypto.Cipher; 006import javax.crypto.SecretKey; 007 008public interface ISecureKey { 009 010 String getAlias(); 011 012 String getTransformation(); 013 014 Cipher getEncryptionCipher(Key key) throws EncryptionException; 015 016 Cipher getDecryptionCipher(Key key) throws EncryptionException; 017 018 SecretKey getKey() throws EncryptionException; 019}