public class CertGenerationStatesEnum extends Object implements IStates
Modifier and Type | Field and Description |
---|---|
static int |
CERT_GENERATION_REQUEST_SEQUENCE_STATE
sequence
|
static int |
ISSUER_STATE
the issuer DN
|
static int |
KEY_ALGORITHM_STATE
the key algorithm
|
static int |
LAST_CERT_GENERATION_STATE
terminal state
|
static int |
START_STATE
start state
|
static int |
SUBJECT_STATE
the subject DN
|
static int |
TARGETDN_STATE
the target DN
|
END_STATE, GRAMMAR_END, INIT_GRAMMAR_STATE
Constructor and Description |
---|
CertGenerationStatesEnum() |
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName(IGrammar grammar)
Get the grammar name
|
String |
getGrammarName(int grammar)
Get the grammar name
|
static IStates |
getInstance()
Get an instance of this class
|
String |
getState(int state)
Get the string representing the state
|
public static final int START_STATE
public static final int CERT_GENERATION_REQUEST_SEQUENCE_STATE
public static final int TARGETDN_STATE
public static final int ISSUER_STATE
public static final int SUBJECT_STATE
public static final int KEY_ALGORITHM_STATE
public static final int LAST_CERT_GENERATION_STATE
public String getGrammarName(IGrammar grammar)
getGrammarName
in interface IStates
grammar
- The grammar classpublic String getGrammarName(int grammar)
getGrammarName
in interface IStates
grammar
- The grammar codepublic String getState(int state)
public static IStates getInstance()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.