|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.codec.extended.operations.certGeneration.CertGenerationStatesEnum
public class CertGenerationStatesEnum
This class store the CertGeneration's grammar constants. It is also used for debugging purposes.
Field Summary | |
---|---|
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 |
Fields inherited from interface org.apache.directory.shared.asn1.ber.grammar.IStates |
---|
END_STATE, GRAMMAR_END, INIT_GRAMMAR_STATE |
Constructor Summary | |
---|---|
CertGenerationStatesEnum()
|
Method Summary | |
---|---|
java.lang.String |
getGrammarName(IGrammar grammar)
Get the grammar name |
java.lang.String |
getGrammarName(int grammar)
Get the grammar name |
static IStates |
getInstance()
Get an instance of this class |
java.lang.String |
getState(int state)
Get the string representing the state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public CertGenerationStatesEnum()
Method Detail |
---|
public java.lang.String getGrammarName(IGrammar grammar)
getGrammarName
in interface IStates
grammar
- The grammar class
public java.lang.String getGrammarName(int grammar)
getGrammarName
in interface IStates
grammar
- The grammar code
public java.lang.String getState(int state)
getState
in interface IStates
state
- The state number
public static IStates getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |