Method | Description | |
---|---|---|
CreateNewDhmKey ( string name = null ) : CngKey | ||
CreateNewDsaKey ( string name = null ) : CngKey | ||
GetPrivateBlob ( CngKey key ) : byte[] | ||
GetPublicBlob ( CngKey key ) : byte[] | ||
GetSharedDhmSecret ( CngKey privateDhmKey, CngKey publicDhmKey, Array contextAppend = null, Array contextPrepend = null ) : byte[] |
Both parties are static and authenticated.
|
|
GetSharedEphemeralDhmSecret ( CngKey receiverDhmPublicKey, Array contextAppend = null, Array contextPrepend = null ) : |
Sender is anonymous and keyless. Receiver is static and authenticated.
|
|
ToPrivateKeyFromBlob ( Array privateBlob ) : CngKey | ||
ToPublicKeyFromBlob ( Array publicBlob ) : CngKey |
public static CreateNewDhmKey ( string name = null ) : CngKey | ||
name | string | |
return | CngKey |
public static CreateNewDsaKey ( string name = null ) : CngKey | ||
name | string | |
return | CngKey |
public static GetPrivateBlob ( CngKey key ) : byte[] | ||
key | CngKey | |
return | byte[] |
public static GetPublicBlob ( CngKey key ) : byte[] | ||
key | CngKey | |
return | byte[] |
public static GetSharedDhmSecret ( CngKey privateDhmKey, CngKey publicDhmKey, Array contextAppend = null, Array contextPrepend = null ) : byte[] | ||
privateDhmKey | CngKey | |
publicDhmKey | CngKey | |
contextAppend | Array | |
contextPrepend | Array | |
return | byte[] |
public static GetSharedEphemeralDhmSecret ( CngKey receiverDhmPublicKey, Array contextAppend = null, Array contextPrepend = null ) : |
||
receiverDhmPublicKey | CngKey | |
contextAppend | Array | |
contextPrepend | Array | |
return |
public static ToPrivateKeyFromBlob ( Array privateBlob ) : CngKey | ||
privateBlob | Array | |
return | CngKey |
public static ToPublicKeyFromBlob ( Array publicBlob ) : CngKey | ||
publicBlob | Array | |
return | CngKey |