diff --git a/lib/src/sign_tool.dart b/lib/src/sign_tool.dart index b5bd697..dd79c5c 100644 --- a/lib/src/sign_tool.dart +++ b/lib/src/sign_tool.dart @@ -9,7 +9,7 @@ import 'method_extensions.dart'; import 'configuration.dart'; RegExp _publisherRegex = RegExp( - '(CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID.(0|[1-9][0-9]*)(.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")(, ((CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID.(0|[1-9][0-9]*)(.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")))*'); + '(CN|L|O|OU|E|C|S|ST|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID.(0|[1-9][0-9]*)(.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")(, ((CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID.(0|[1-9][0-9]*)(.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")))*'); /// Handles the certificate sign functionality class SignTool {