SignatureRecord class

Signature Record is used to protect the integrity and authenticity of NDEF Messages.

Inheritance

Constructors

SignatureRecord({String? signatureType, String hashType = "SHA-256", Uint8List? signature, String? signatureURI = "", String certificateFormat = "X.509", List<Uint8List>? certificateStore, String? certificateURI = ""})

Properties

basicInfoString String
no setterinherited
certificateFormat String
getter/setter pair
certificateFormatIndex int
getter/setter pair
certificateStore List<Uint8List>
no setter
certificateURI String?
getter/setter pair
decodedType String
getter/setter pairinherited-setteroverride-getter
encodedType Uint8List?
getter/setter pairinherited
flags NDEFRecordFlags
getter/setter pairinherited
fullType String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hashType String
getter/setter pair
hashTypeIndex int
getter/setter pair
id Uint8List?
getter/setter pairinherited
idString String
Hex String of id, return "(empty)" when the id bytes is null
getter/setter pairinherited
maxPayloadLength int?
no setterinherited
minPayloadLength int
no setteroverride
payload Uint8List
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature Uint8List
getter/setter pair
signatureType String?
getter/setter pair
signatureTypeIndex int
getter/setter pair
signatureURI String?
getter/setter pair
tnf TypeNameFormat
getter/setter pairinherited
type Uint8List?
getter/setter pairinherited

Methods

addCertificateStore(Uint8List certificate) → void
encode() Uint8List
Encode this NDEFRecord to raw byte data.
inherited
isEqual(NDEFRecord other) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

certificateFormatMap List<String>
getter/setter pair
hashTypeMap List<String>
getter/setter pair
signatureTypeMap List<String?>
getter/setter pair

Constants

classMinPayloadLength → const int
classType → const String
classVersion → const int