Package com.oss.util
Enum Class BERTool.ValueType
- All Implemented Interfaces:
Serializable
,Comparable<BERTool.ValueType>
,Constable
- Enclosing class:
- BERTool
Represents BER universal tag numbers as Java enumeration objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe universal tag number for BIT STRING type is 3.The universal tag number for BMPString type is 30.The universal tag number for BOOLEAN type is 1.The universal tag number for CHARACTER STRING type is 29.The universal tag number for DATE type is 31.The universal tag number for DATE-TIME type is 33.The universal tag number for DURATION type is 34.The universal tag number for EMBEDDED-PDV type is 11.The universal tag number for ENUMERATED type is 10.The universal tag number for EXTERNAL type is 8.The universal tag number for GeneralString type is 27.The universal tag number for GeneralizedTime type is 24.The universal tag number for GraphicString type is 25.The universal tag number for IA5String type is 22.The universal tag number for INTEGER type is 2.The universal tag number for NULL type is 5.The universal tag number for NumericString type is 18.The universal tag number for ObjectDescriptor type is 7.The universal tag number for OBJECT IDENTIFIER type is 6The universal tag number for OCTET STRING type is 4.The universal tag number for OID-IRI type is 35.The universal tag number for PrintableString type is 19.The universal tag number for REAL type is 9.The universal tag number for RELATIVE-OID type is 13.The universal tag number for RELATIVE-OID-IRI type is 36.The reserved universal tag number type is 15.The universal tag number for SEQUENCE type is 16.The universal tag number for SET type is 17.The universal tag number for TeletexString type is 20.The universal tag number for TIME type is 14.The universal tag number for TIME-OF-DAY type is 32.The universal tag number for UniversalString type is 28.The universal tag number for unknown type is 0.The universal tag number for UTCTime type is 23.The universal tag number for UTF8String type is 12.The universal tag number for VidiotexString type is 21.The universal tag number for VisibleString type is 26. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static BERTool.ValueType
Returns the enum constant of this class with the specified name.static BERTool.ValueType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
UNKNOWN
The universal tag number for unknown type is 0. -
BOOLEAN
The universal tag number for BOOLEAN type is 1. -
INTEGER
The universal tag number for INTEGER type is 2. -
BIT_STRING
The universal tag number for BIT STRING type is 3. -
OCTET_STRING
The universal tag number for OCTET STRING type is 4. -
NULL
The universal tag number for NULL type is 5. -
OBJECT_IDENTIFIER
The universal tag number for OBJECT IDENTIFIER type is 6 -
OBJECT_DESCRIPTOR
The universal tag number for ObjectDescriptor type is 7. -
EXTERNAL
The universal tag number for EXTERNAL type is 8. -
REAL
The universal tag number for REAL type is 9. -
ENUMERATED
The universal tag number for ENUMERATED type is 10. -
EMBEDDED_PDV
The universal tag number for EMBEDDED-PDV type is 11. -
UTF8STRING
The universal tag number for UTF8String type is 12. -
RELATIVE_OID
The universal tag number for RELATIVE-OID type is 13. -
TIME
The universal tag number for TIME type is 14. -
RESERVED15
The reserved universal tag number type is 15. -
SEQUENCE
The universal tag number for SEQUENCE type is 16. -
SET
The universal tag number for SET type is 17. -
NUMERIC_STRING
The universal tag number for NumericString type is 18. -
PRINTABLE_STRING
The universal tag number for PrintableString type is 19. -
TELETEX_STRING
The universal tag number for TeletexString type is 20. -
VIDEOTEX_STRING
The universal tag number for VidiotexString type is 21. -
IA5STRING
The universal tag number for IA5String type is 22. -
UTC_TIME
The universal tag number for UTCTime type is 23. -
GENERALIZED_TIME
The universal tag number for GeneralizedTime type is 24. -
GRAPHIC_STRING
The universal tag number for GraphicString type is 25. -
VISIBLE_STRING
The universal tag number for VisibleString type is 26. -
GENERAL_STRING
The universal tag number for GeneralString type is 27. -
UNIVERSALSTRING
The universal tag number for UniversalString type is 28. -
CHARACTER_STRING
The universal tag number for CHARACTER STRING type is 29. -
BMPSTRING
The universal tag number for BMPString type is 30. -
DATE
The universal tag number for DATE type is 31. -
TIME_OF_DAY
The universal tag number for TIME-OF-DAY type is 32. -
DATE_TIME
The universal tag number for DATE-TIME type is 33. -
DURATION
The universal tag number for DURATION type is 34. -
OID_IRI
The universal tag number for OID-IRI type is 35. -
RELATIVE_OID_IRI
The universal tag number for RELATIVE-OID-IRI type is 36.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<BERTool.ValueType>
-