Rename DefaultApplicationName to ApplicationName
Updated the `Pkcs11Options` class to rename the `DefaultApplicationName` property to `ApplicationName`, clarifying its role as a globally controlled value embedded in PDF signature metadata. Modified `PdfDigitalSignatureService` to source `ApplicationName` directly from `Pkcs11Options`, removing client-level overrides. Updated `PdfSignatureController` to reflect this change by removing the `ApplicationName` property from `SignOptions`. Updated `appsettings.json` and `README.md` to reflect the property name change. These changes enforce stricter configuration control, improving metadata consistency and security.
This commit is contained in:
@@ -112,7 +112,7 @@ Configuration section: `Crypt:Pkcs11`
|
||||
"UserPin": "***",
|
||||
"PrivateKeyLabel": "sign-key",
|
||||
"CertificateLabel": "sign-cert",
|
||||
"DefaultApplicationName": "signFLOW",
|
||||
"ApplicationName": "signFLOW",
|
||||
"UseUtcSigningTime": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user