Specialist options for signatures.
[FlagsAttribute] public enum SigOptions
<FlagsAttribute> _ Public Enumeration SigOptions
Member name | Description | |
---|---|---|
Default | Use default options for signature. | |
UseDeterministic | ECDSA only: Use the deterministic digital signature generation procedure of [RFC6979] for ECDSA signature [default=random k]. | |
Asn1DERStructure | ECDSA only: Form ECDSA signature value as a DER-encoded ASN.1 structure [default=r||s]. | |
PssSaltLenHlen | RSA-PSS only: Set the salt length to hLen, the length of the output of the hash function [default]. | |
PssSaltLenMax | RSA-PSS only: Set the salt length to the maximum possible (like OpenSSL). | |
PssSaltLen20 | RSA-PSS only: Set the salt length to be exactly 20 bytes regardless of the hash algorithm. | |
PssSaltLenZero | RSA-PSS only: Set the salt length to be zero. | |
Mgf1Sha1 | RSA-PSS only: Force the MGF hash function to be SHA-1 [default = same as signature hash algorithm] |