org.apache.directory.server.kerberos.shared.crypto.checksum
Class ChecksumType

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.crypto.checksum.ChecksumType
All Implemented Interfaces:
java.lang.Comparable

public final class ChecksumType
extends java.lang.Object
implements java.lang.Comparable


Field Summary
static ChecksumType CRC32
           
static ChecksumType DES_MAC
           
static ChecksumType DES_MAC_K
           
static ChecksumType HMAC_SHA1_96_AES128
           
static ChecksumType HMAC_SHA1_96_AES256
           
static ChecksumType HMAC_SHA1_DES3
           
static ChecksumType HMAC_SHA1_DES3_KD
           
static ChecksumType NULL
           
static ChecksumType RSA_MD4
           
static ChecksumType RSA_MD4_DES
           
static ChecksumType RSA_MD4_DES_K
           
static ChecksumType RSA_MD5
           
static ChecksumType RSA_MD5_DES
           
static ChecksumType RSA_MD5_DES3
           
static ChecksumType SHA1
           
static ChecksumType SHA1_2
           
static ChecksumType UNKNOWN
          Enumeration elements are constructed once upon class loading.
static java.util.List VALUES
           
 
Method Summary
 int compareTo(java.lang.Object that)
           
 int getOrdinal()
           
static ChecksumType getTypeByOrdinal(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final ChecksumType UNKNOWN
Enumeration elements are constructed once upon class loading. Order of appearance here determines the order of compareTo.


NULL

public static final ChecksumType NULL

CRC32

public static final ChecksumType CRC32

RSA_MD4

public static final ChecksumType RSA_MD4

RSA_MD4_DES

public static final ChecksumType RSA_MD4_DES

DES_MAC

public static final ChecksumType DES_MAC

DES_MAC_K

public static final ChecksumType DES_MAC_K

RSA_MD4_DES_K

public static final ChecksumType RSA_MD4_DES_K

RSA_MD5

public static final ChecksumType RSA_MD5

RSA_MD5_DES

public static final ChecksumType RSA_MD5_DES

RSA_MD5_DES3

public static final ChecksumType RSA_MD5_DES3

SHA1

public static final ChecksumType SHA1

HMAC_SHA1_DES3_KD

public static final ChecksumType HMAC_SHA1_DES3_KD

HMAC_SHA1_DES3

public static final ChecksumType HMAC_SHA1_DES3

SHA1_2

public static final ChecksumType SHA1_2

HMAC_SHA1_96_AES128

public static final ChecksumType HMAC_SHA1_96_AES128

HMAC_SHA1_96_AES256

public static final ChecksumType HMAC_SHA1_96_AES256

VALUES

public static final java.util.List VALUES
Method Detail

getTypeByOrdinal

public static ChecksumType getTypeByOrdinal(int type)

getOrdinal

public int getOrdinal()

compareTo

public int compareTo(java.lang.Object that)
Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.