SignatureProviderFactory.MinimumSymmetricKeySizeInBits Property
Gets or sets the minimum SymmetricSecurityKey.KeySize"/>.
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public Shared Property MinimumSymmetricKeySizeInBits As UInteger
public static uint MinimumSymmetricKeySizeInBits { get; set; }
public:
static property unsigned int MinimumSymmetricKeySizeInBits {
unsigned int get ();
void set (unsigned int value);
}
static member MinimumSymmetricKeySizeInBits : uint32 with get, set
static function get MinimumSymmetricKeySizeInBits () : uint
static function set MinimumSymmetricKeySizeInBits (value : uint)
Property Value
Type: System.UInt32
Returns UInt32.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | 'value' is smaller than AbsoluteMinimumSymmetricKeySizeInBits. |
.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.