~brian-thomason/+junk/bouncycastle

« back to all changes in this revision

Viewing changes to src/org/bouncycastle/crypto/tls/DigestAlgorithm.java

  • Committer: Brian Thomason
  • Date: 2011-12-20 17:20:32 UTC
  • Revision ID: brian.thomason@canonical.com-20111220172032-rdtm13jgdxtksacr
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.bouncycastle.crypto.tls;
 
2
 
 
3
public class DigestAlgorithm
 
4
{
 
5
    /*
 
6
     * Note that the values here are implementation-specific and arbitrary.
 
7
     * It is recommended not to depend on the particular values (e.g. serialization).
 
8
     */
 
9
    public static final int NULL = 0;
 
10
    public static final int MD5 = 1;
 
11
    public static final int SHA = 2;
 
12
 
 
13
    /*
 
14
     * RFC 5289
 
15
     */
 
16
    public static final int SHA256 = 3;
 
17
    public static final int SHA384 = 4;
 
18
}