Click or drag to resize

SigSigOptions Enumeration

Specialist options for signatures.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
[FlagsAttribute]
public enum SigOptions
Members
Member nameDescription
Default Use default options for signature.
PssSaltLenHlen RSA-PSS only: Set the salt length to hLen, the length of the output of the hash function [default].
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].
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]
See Also