Share via


Encryptor Constructor

Initializes a new instance of the Encryptor class with the specified session context, encryption algorithm, key, input block size, and output block size.

Namespace: Microsoft.SPOT.Cryptoki
Assembly: Microsoft.SPOT.Security.PKCS11 (in microsoft.spot.security.pkcs11.dll)

Syntax

public Encryptor (
         Session session,
         Mechanism mechanism,
         CryptoKey key,
         int inputBlockSize,
         int outputBlockSize
)

Parameters

  • session
    The session context.
  • mechanism
    The encryption algorithm and parameters.
  • key
    The key to use for encryption.
  • inputBlockSize
    The input block size, in bits.
  • outputBlockSize
    The output block size, in bits.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

Encryptor Class
Encryptor Members
Microsoft.SPOT.Cryptoki Namespace