buildCommand method
Build the @ command to be sent to remote secondary for execution.
Implementation
@override
String buildCommand() {
var command = 'pkam';
if (signingAlgo != null && signingAlgo!.isNotEmpty) {
command += ':signingAlgo:$signingAlgo';
}
if (hashingAlgo != null && hashingAlgo!.isNotEmpty) {
command += ':hashingAlgo:$hashingAlgo';
}
if (enrollmentlId != null && enrollmentlId!.isNotEmpty) {
command += ':enrollmentId:$enrollmentlId';
}
command += ':$signature';
command += '\n';
return command;
}