Share via


DSACryptoServiceProvider Constructor (Session, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the DSACryptoServiceProvider class with the specified session and key size.

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Sub New ( _
    session As Session, _
    keySize As Integer _
)
public DSACryptoServiceProvider(
    Session session,
    int keySize
)
public:
DSACryptoServiceProvider(
    Session^ session, 
    int keySize
)
new : 
        session:Session * 
        keySize:int -> DSACryptoServiceProvider
public function DSACryptoServiceProvider(
    session : Session, 
    keySize : int
)

Parameters

  • keySize
    Type: System. . :: . .Int32
    The size of the key for the asymmetric algorithm in bits. This parameter is optional. If you do not provide a value, the value of the DefaultKeySize field is used.

.NET Framework Security

See Also

Reference

DSACryptoServiceProvider Class

DSACryptoServiceProvider Overload

System.Security.Cryptography Namespace