CryptoSys PKI Pro Manual

Sig.SigOptions Enumeration

Specialist options for signatures.

Syntax

[C#]
[FlagsAttribute]
public enum SigOptions
[VB.NET]
<FlagsAttribute> _
Public Enumeration SigOptions

Members

Member nameDescription
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]

[Contents] [Index]

[PREV: Sig.Encoding Enumeration...]   [Contents]   [Index]   
   [NEXT: Sig.VerifyOpts Enumeration...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.