NotationData class final
This subpacket describes a "notation" on the signature that the issuer wishes to make. The notation has a name and a value, each of which are strings of octets. Author Nguyen Van Nguyen nguyennv1981@gmail.com
- Inheritance
-
- Object
- SignatureSubpacket
- NotationData
Constructors
- NotationData.new(Uint8List data, {bool critical = false, bool isLong = false})
- NotationData.fromNotation(bool humanReadable, String notationName, String notationValue, {bool critical = false})
-
factory
- NotationData.saltNotation(int saltSize, {bool critical = false})
-
factory
Properties
- critical → bool
-
finalinherited
- data → Uint8List
-
Get sub-packet data
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- humanReadable → bool
-
Is human readable
no setter
- isLong → bool
-
Is long
finalinherited
- nameData → Uint8List
-
no setter
- notationName → String
-
Get notation name
no setter
- notationValue → String
-
Get notation value
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → SignatureSubpacketType
-
Get sub-packet type
finalinherited
- valueData → Uint8List
-
no setter
Methods
-
encode(
) → Uint8List -
Serialize sub-packet to bytes
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- headerFlagLength → const int
- headerNameLength → const int
- headerValueLength → const int
- saltName → const String