SignatureProviderFactory.MinimumAsymmetricKeySizeInBitsForSigning Property
Gets or sets the minimum AsymmetricSecurityKey.KeySize for creating signatures.
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public Shared Property MinimumAsymmetricKeySizeInBitsForSigning As UInteger
public static uint MinimumAsymmetricKeySizeInBitsForSigning { get; set; }
public:
static property unsigned int MinimumAsymmetricKeySizeInBitsForSigning {
unsigned int get ();
void set (unsigned int value);
}
static member MinimumAsymmetricKeySizeInBitsForSigning : uint32 with get, set
static function get MinimumAsymmetricKeySizeInBitsForSigning () : uint
static function set MinimumAsymmetricKeySizeInBitsForSigning (value : uint)
Property Value
Type: System.UInt32
Returns UInt32.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | 'value' is smaller than AbsoluteMinimumAsymmetricKeySizeInBitsForSigning. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.