We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch (_hashAlgorihtm) { case HashAlgorithm.SHA1: digest = ComputeDigest(new Sha1Digest(), message); digestInfo = CreateDigestInfo(digest, "1.3.14.3.2.26"); break; case HashAlgorithm.SHA256: digest = ComputeDigest(new Sha256Digest(), message); digestInfo = CreateDigestInfo(digest, "2.16.840.1.101.3.4.2.1"); break; case HashAlgorithm.SHA384: digest = ComputeDigest(new Sha384Digest(), message); digestInfo = CreateDigestInfo(digest, "2.16.840.1.101.3.4.2.2"); break; case HashAlgorithm.SHA512: digest = ComputeDigest(new Sha512Digest(), message); digestInfo = CreateDigestInfo(digest, "2.16.840.1.101.3.4.2.3"); break; }
https://github.com/jariq/Pkcs11Interop.PDF/blob/master/src/Pkcs11Interop.PDF/Pkcs11RsaSignature.cs#L348C1-L366C14
How it Use with newest version of Pkcs11Interop ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/jariq/Pkcs11Interop.PDF/blob/master/src/Pkcs11Interop.PDF/Pkcs11RsaSignature.cs#L348C1-L366C14
How it Use with newest version of Pkcs11Interop ?
The text was updated successfully, but these errors were encountered: