Method | Description | |
---|---|---|
Create ( ) : |
Creates an instance of the default implementation of the DiffieHellman algorithm.
|
|
Create ( string algName ) : |
Creates an instance of the specified implementation of DiffieHellman.
|
|
CreateKeyExchange ( ) : byte[] |
When overridden in a derived class, creates the key exchange data.
|
|
DecryptKeyExchange ( byte keyEx ) : byte[] |
When overridden in a derived class, extracts secret information from the key exchange data.
|
|
DiffieHellman ( ) : System |
Initializes a new DiffieHellman instance.
|
|
ExportParameters ( bool includePrivate ) : |
When overridden in a derived class, exports the DHParameters.
|
|
FromXmlString ( string xmlString ) : void |
Reconstructs a DiffieHellman object from an XML string.
|
|
ImportParameters ( |
When overridden in a derived class, imports the specified DHParameters.
|
|
ToXmlString ( bool includePrivateParameters ) : string |
Creates and returns an XML string representation of the current DiffieHellman object.
|
Method | Description | |
---|---|---|
GetNamedParam ( |
public static Create ( string algName ) : |
||
algName | string | The name of the implementation of DiffieHellman to use. |
return |
public abstract CreateKeyExchange ( ) : byte[] | ||
return | byte[] |
public abstract DecryptKeyExchange ( byte keyEx ) : byte[] | ||
keyEx | byte | The key exchange data within which the secret information is hidden. |
return | byte[] |
public abstract ExportParameters ( bool includePrivate ) : |
||
includePrivate | bool | true to include private parameters; otherwise, false. |
return |
public FromXmlString ( string xmlString ) : void | ||
xmlString | string | The XML string to use to reconstruct the DiffieHellman object. |
return | void |
public abstract ImportParameters ( |
||
parameters | The parameters for Diffie-Hellman. | |
return | void |
public ToXmlString ( bool includePrivateParameters ) : string | ||
includePrivateParameters | bool | true to include private parameters; otherwise, false. |
return | string |