KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > oyster > crypto > consts > SignedConstants


1 /*
2  * Title: Oyster Project
3  * Description: S/MIME email sending capabilities
4  * @Author Vladimir Radisic
5  * @Version 2.1.5
6  */

7
8 package org.enhydra.oyster.crypto.consts;
9
10 /**
11  * Types of signature algorithms, currently suported by Oyster project.
12  */

13 public interface SignedConstants {
14
15   /**
16    * RSA key and SHA1 digest
17    */

18   public String JavaDoc SHA1_WITH_RSA = "SHA1_WITH_RSA";
19
20   /**
21    * RSA key and MD2 digest
22    */

23   public String JavaDoc MD2_WITH_RSA = "MD2_WITH_RSA";
24
25   /**
26    * RSA key and MD5 digest
27    */

28   public String JavaDoc MD5_WITH_RSA = "MD5_WITH_RSA";
29
30   /**
31    * DSA algorithm (DSA key and SHA1 digest)
32    */

33   public String JavaDoc SHA1_WITH_DSA = "SHA1_WITH_DSA";
34 }
35
36
Popular Tags