SignatureRecord constructor
SignatureRecord({})
Implementation
SignatureRecord(
{String? signatureType,
String hashType = "SHA-256",
Uint8List? signature,
this.signatureURI = "",
String certificateFormat = "X.509",
List<Uint8List>? certificateStore,
this.certificateURI = ""}) {
this.signatureType = signatureType;
this.hashType = hashType;
this.signature = signature ?? Uint8List(0);
this.certificateFormat = certificateFormat;
_certificateStore = <Uint8List>[];
if (certificateStore != null) {
for (var c in certificateStore) {
addCertificateStore(c);
}
}
}