KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > suberic > pooka > gui > crypto > CryptoStatusDisplay


1 package net.suberic.pooka.gui.crypto;
2
3 public interface CryptoStatusDisplay {
4
5   public static int NOT_ENCRYPTED = 0;
6   public static int UNCHECKED_ENCRYPTED = 1;
7   public static int DECRYPTED_SUCCESSFULLY = 5;
8   public static int DECRYPTED_UNSUCCESSFULLY = 10;
9   public static int UNCHECKED_SIGNED = 15;
10   public static int NOT_SIGNED = 18;
11   public static int SIGNATURE_VERIFIED = 20;
12   public static int SIGNATURE_BAD = 25;
13   public static int SIGNATURE_FAILED_VERIFICATION = 30;
14   
15   /**
16    * Updates the encryption information.
17    */

18   public void cryptoUpdated(int newSignatureStatus, int newEncryptionStatus);
19
20   /**
21    * Updates the encryption information.
22    */

23   public void cryptoUpdated(net.suberic.pooka.MessageCryptoInfo cryptoInfo);
24
25 }
26     
27
Popular Tags