All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.crypto.KeyType

java.lang.Object
   |
   +----semper.util.constant.Constant
           |
           +----semper.crypto.KeyType

public abstract class KeyType
extends Constant
KeyType is the abstract superclass for constant classes representing key types (for both symmetric and asymmetric crypto algorithms). This is used in the CryptokeyInfo class.


Constructor Index

 o KeyType(int, String)

Method Index

 o fromString(String)
Translate a string to a KeyType

Constructors

 o KeyType
 protected KeyType(int num,
                   String name)

Methods

 o fromString
 public static KeyType fromString(String name) throws ConstantException
Translate a string to a KeyType

Throws: ConstantException
if the provided name is an unknown keytype.

All Packages  Class Hierarchy  This Package  Previous  Next  Index