You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




org.mozilla.jss.crypto
Class SymmetricKey.Type

java.lang.Object
  extended by org.mozilla.jss.crypto.SymmetricKey.Type
Enclosing interface:
SymmetricKey

public static final class SymmetricKey.Type
extends java.lang.Object


Field Summary
static SymmetricKey.Type AES
           
static SymmetricKey.Type DES
           
static SymmetricKey.Type DES3
           
static SymmetricKey.Type DESede
           
static SymmetricKey.Type RC2
           
static SymmetricKey.Type RC4
           
static SymmetricKey.Type SHA1_HMAC
           
 
Method Summary
static SymmetricKey.Type fromName(java.lang.String name)
           
 KeyGenAlgorithm getKeyGenAlg()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DES

public static final SymmetricKey.Type DES

DES3

public static final SymmetricKey.Type DES3

DESede

public static final SymmetricKey.Type DESede

RC4

public static final SymmetricKey.Type RC4

RC2

public static final SymmetricKey.Type RC2

SHA1_HMAC

public static final SymmetricKey.Type SHA1_HMAC

AES

public static final SymmetricKey.Type AES
Method Detail

toString

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

getKeyGenAlg

public KeyGenAlgorithm getKeyGenAlg()
                             throws java.security.NoSuchAlgorithmException
Throws:
java.security.NoSuchAlgorithmException

fromName

public static SymmetricKey.Type fromName(java.lang.String name)
                                  throws java.security.NoSuchAlgorithmException
Throws:
java.security.NoSuchAlgorithmException