Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

DiffieHellmanManaged Class

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)

Managed implementation of Diffie-Hellman algorithm.

Syntax
public class DiffieHellmanManaged : DiffieHellman, IDisposable
Inheritance
Object
AsymmetricAlgorithm
DiffieHellman
DiffieHellmanManaged
Implements
IDisposable
Inherited Members
DiffieHellman.GetOakleyGenerator()
DiffieHellman.GetOakleyGroup14()
DiffieHellman.GetOakleyGroup2()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
AsymmetricAlgorithm.Clear()
AsymmetricAlgorithm.Create()
AsymmetricAlgorithm.Create(String)
AsymmetricAlgorithm.Dispose()
AsymmetricAlgorithm.ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, PbeParameters)
AsymmetricAlgorithm.ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, PbeParameters)
AsymmetricAlgorithm.ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<Byte>, PbeParameters)
AsymmetricAlgorithm.ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<Char>, PbeParameters)
AsymmetricAlgorithm.ExportPkcs8PrivateKey()
AsymmetricAlgorithm.ExportPkcs8PrivateKeyPem()
AsymmetricAlgorithm.ExportSubjectPublicKeyInfo()
AsymmetricAlgorithm.ExportSubjectPublicKeyInfoPem()
AsymmetricAlgorithm.ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Int32)
AsymmetricAlgorithm.ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, ReadOnlySpan<Byte>, Int32)
AsymmetricAlgorithm.ImportFromEncryptedPem(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)
AsymmetricAlgorithm.ImportFromEncryptedPem(ReadOnlySpan<Char>, ReadOnlySpan<Char>)
AsymmetricAlgorithm.ImportFromPem(ReadOnlySpan<Char>)
AsymmetricAlgorithm.ImportPkcs8PrivateKey(ReadOnlySpan<Byte>, Int32)
AsymmetricAlgorithm.ImportSubjectPublicKeyInfo(ReadOnlySpan<Byte>, Int32)
AsymmetricAlgorithm.KeySize
AsymmetricAlgorithm.KeySizeValue
AsymmetricAlgorithm.LegalKeySizes
AsymmetricAlgorithm.LegalKeySizesValue
AsymmetricAlgorithm.TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, PbeParameters, Span<Byte>, Int32)
AsymmetricAlgorithm.TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, PbeParameters, Span<Byte>, Int32)
AsymmetricAlgorithm.TryExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<Byte>, PbeParameters, Span<Char>, Int32)
AsymmetricAlgorithm.TryExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<Char>, PbeParameters, Span<Char>, Int32)
AsymmetricAlgorithm.TryExportPkcs8PrivateKey(Span<Byte>, Int32)
AsymmetricAlgorithm.TryExportPkcs8PrivateKeyPem(Span<Char>, Int32)
AsymmetricAlgorithm.TryExportSubjectPublicKeyInfo(Span<Byte>, Int32)
AsymmetricAlgorithm.TryExportSubjectPublicKeyInfoPem(Span<Char>, Int32)

Constructors

Name Description
DiffieHellmanManaged()

Initializes a new instance of the DiffieHellmanManaged class.

DiffieHellmanManaged(Int32)

Initializes a new instance of the DiffieHellmanManaged class with a specified key size.

Properties

Name Description
KeyExchangeAlgorithm

Gets the name of the key exchange algorithm available with this implementation of DiffieHellman.

SignatureAlgorithm

Gets the name of the signature algorithm available with this implementation of DiffieHellman.

Methods

Name Description
Dispose(Boolean)

Releases the unmanaged resources and optionally releases the managed resources.

ExportParameters(Boolean)

Exports the DiffieHellmanParameters.

FromXmlString(String)

When overridden in a derived class, reconstructs a DiffieHellmanManaged object from an XML string.

GetOakleyGenerator()

Returns Oakley generator value. Inherited from DiffieHellman.

GetOakleyGroup14()

Returns Oakley group 14. Inherited from DiffieHellman.

GetOakleyGroup2()

Returns Oakley group 2. Inherited from DiffieHellman.

GetPublicKey()

Returns the public key.

GetSharedSecretKey(Byte[])

Calculates the shared secret key from the other side's public key.

ImportParameters(DiffieHellmanParameters)

Imports the specified DiffieHellmanParameters.

ToXmlString(Boolean)

Creates and returns an XML string representation of the current object.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies