Click or drag to resize

RSAPKCS1KeyExchangeFormatter Class

Creates the PKCS#1 key exchange data using Crestron.SimplSharp.Cryptography.RSA.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.CryptographyAsymmetricKeyExchangeFormatter
    Crestron.SimplSharp.CryptographyRSAPKCS1KeyExchangeFormatter

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public class RSAPKCS1KeyExchangeFormatter : AsymmetricKeyExchangeFormatter

The RSAPKCS1KeyExchangeFormatter type exposes the following members.

Constructors
 NameDescription
Public methodRSAPKCS1KeyExchangeFormatter Initializes a new instance of the Crestron.SimplSharp.Cryptography.RSAPKCS1KeyExchangeFormatter class.
Public methodRSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm) Initializes a new instance of the Crestron.SimplSharp.Cryptography.RSAPKCS1KeyExchangeFormatter class with the specified key.
Top
Properties
 NameDescription
Public propertyParameters Gets the parameters for the PKCS #1 key exchange.
(Overrides AsymmetricKeyExchangeFormatterParameters)
Public propertyRng Gets or sets the random number generator algorithm to use in the creation of the key exchange.
Top
Methods
 NameDescription
Public methodCreateKeyExchange(Byte) Creates the encrypted key exchange data from the specified input data.
(Overrides AsymmetricKeyExchangeFormatterCreateKeyExchange(Byte))
Public methodCreateKeyExchange(Byte, Type) Creates the encrypted key exchange data from the specified input data.
(Overrides AsymmetricKeyExchangeFormatterCreateKeyExchange(Byte, Type))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetKey Sets the public key to use for encrypting the key exchange data.
(Overrides AsymmetricKeyExchangeFormatterSetKey(AsymmetricAlgorithm))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also