issrg.SAWS
Class SAWSConstant

java.lang.Object
  extended by issrg.SAWS.SAWSConstant

public class SAWSConstant
extends java.lang.Object

SAWSConstant.java Created in Nov 2005

Author:
W.Xu

Field Summary
static byte AsymmetricEncryptionFlag
           
static byte CommandFlag
           
static byte ENCRYPTION_PURPOSE
           
static int HeaderLength
           
static int MAXINPUTSIZE
           
static byte NoEncryptionFlag
           
static int OUTPUTSIZE
           
static byte SAWSAccumulatedHashType
           
static byte SAWSCertificateType
           
static byte SAWSClientLogDataType
           
static byte SAWSHashAlgorithmType
           
static byte SAWSHeaderSignatureType
           
static byte SAWSLastFileType
           
static byte SAWSLogFileSignatureType
           
static byte SAWSSecretRandomNumberType
           
static byte SAWSSigningAlgorithmType
           
static byte SIGNING_PURPOSE
           
static byte SymmetricEncryptionFlag
           
static byte SymmetricEncryptionKeyType
           
static byte SysAuditorNotificationType
           
static byte SysClientIDType
           
static byte SysHeartbeatType
           
static byte SysSAWSShutdownType
           
static byte SysSAWSStartupType
           
static byte SysUnauthorisedConnectionAttemptType
           
static byte USERSAWS
           
static byte USERVT
           
 
Constructor Summary
SAWSConstant()
          Creates a new instance of SAWSConstant
 
Method Summary
static java.lang.String getErrorString(int errCode)
          This method is to get the error code string
static java.lang.String getRecordTypeString(byte RecordTypeIn)
          This method is to give the record type according to the type value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAWSSecretRandomNumberType

public static final byte SAWSSecretRandomNumberType
See Also:
Constant Field Values

SymmetricEncryptionKeyType

public static final byte SymmetricEncryptionKeyType
See Also:
Constant Field Values

SAWSLastFileType

public static final byte SAWSLastFileType
See Also:
Constant Field Values

SAWSClientLogDataType

public static final byte SAWSClientLogDataType
See Also:
Constant Field Values

SAWSAccumulatedHashType

public static final byte SAWSAccumulatedHashType
See Also:
Constant Field Values

SAWSLogFileSignatureType

public static final byte SAWSLogFileSignatureType
See Also:
Constant Field Values

SAWSCertificateType

public static final byte SAWSCertificateType
See Also:
Constant Field Values

SysSAWSStartupType

public static final byte SysSAWSStartupType
See Also:
Constant Field Values

SysSAWSShutdownType

public static final byte SysSAWSShutdownType
See Also:
Constant Field Values

SysUnauthorisedConnectionAttemptType

public static final byte SysUnauthorisedConnectionAttemptType
See Also:
Constant Field Values

SysAuditorNotificationType

public static final byte SysAuditorNotificationType
See Also:
Constant Field Values

SysHeartbeatType

public static final byte SysHeartbeatType
See Also:
Constant Field Values

SysClientIDType

public static final byte SysClientIDType
See Also:
Constant Field Values

SAWSHashAlgorithmType

public static final byte SAWSHashAlgorithmType
See Also:
Constant Field Values

SAWSHeaderSignatureType

public static final byte SAWSHeaderSignatureType
See Also:
Constant Field Values

SAWSSigningAlgorithmType

public static final byte SAWSSigningAlgorithmType
See Also:
Constant Field Values

AsymmetricEncryptionFlag

public static final byte AsymmetricEncryptionFlag
See Also:
Constant Field Values

SymmetricEncryptionFlag

public static final byte SymmetricEncryptionFlag
See Also:
Constant Field Values

NoEncryptionFlag

public static final byte NoEncryptionFlag
See Also:
Constant Field Values

CommandFlag

public static final byte CommandFlag
See Also:
Constant Field Values

USERSAWS

public static final byte USERSAWS
See Also:
Constant Field Values

USERVT

public static final byte USERVT
See Also:
Constant Field Values

HeaderLength

public static int HeaderLength

MAXINPUTSIZE

public static int MAXINPUTSIZE

OUTPUTSIZE

public static int OUTPUTSIZE

ENCRYPTION_PURPOSE

public static final byte ENCRYPTION_PURPOSE
See Also:
Constant Field Values

SIGNING_PURPOSE

public static final byte SIGNING_PURPOSE
See Also:
Constant Field Values
Constructor Detail

SAWSConstant

public SAWSConstant()
Creates a new instance of SAWSConstant

Method Detail

getErrorString

public static java.lang.String getErrorString(int errCode)
This method is to get the error code string

Parameters:
errCode - is the error code
Returns:
the error message string

getRecordTypeString

public static java.lang.String getRecordTypeString(byte RecordTypeIn)
This method is to give the record type according to the type value

Parameters:
-
Returns:
String record type .