ASN1UtcTime class
An ASN1 UtcTime value.
UTCTime values take the form of either 'YYMMDDhhmmssZ' or 'YYMMDDhhmmss(+|-)hhmm'. The first form indicates (by the literal letter 'Z') UTC time. The second form indicates a time that differs from UTC by plus or minus The hours and minutes represented by the final 'hhmm'.
- Inheritance
-
- Object
- ASN1Object
- ASN1UtcTime
Constructors
- ASN1UtcTime.new(DateTime dateTimeValue, {int tag = UTC_TIME_TYPE})
- Create an ASN1UtcTime initialized with DateTime value.
- ASN1UtcTime.fromBytes(Uint8List bytes)
- Create an ASN1UtcTime from an encoded list of bytes
Properties
- dateTimeValue ↔ DateTime
-
latefinal
- encodedBytes → Uint8List
-
Get the encoded byte representation for this object. This can trigger
calling the subclasss
_encode
method if the object has not yet been encodedno setterinherited - extendedTag → int?
-
no setterinherited
- hasExtendedTag → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEncoded → bool
-
Check if the encoding is ready.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → int
-
The BER tag representing this object
finalinherited
- totalEncodedByteLength → int
-
The total length of this object in bytes - including its value
bytes and the encoded tag and length bytes.
no setterinherited
Methods
-
contentBytes(
) → Uint8List -
Returns the real content of a tag. This might be equal to valueBytes for some tags.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHexString(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
-
valueBytes(
) → Uint8List -
Return just the value bytes.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited