|
static IntPtr | egCryptorCreate () |
|
static int | egCryptorPublicKey (IntPtr cryptor, out IntPtr key, out int keySize) |
|
static int | egCryptorDeriveSharedKey (IntPtr cryptor, byte[] serverPublicKey, int keySize) |
|
static int | egCryptorEncrypt (IntPtr cryptor, byte[] plainData, int plainDataOffset, int plainDataSize, byte[] sharedKeyHash, out IntPtr encodedData, out int encodedDataSize) |
|
static int | egCryptorDecrypt (IntPtr cryptor, byte[] encodedData, int encodedDataOffset, int encodedDataSize, byte[] sharedKeyHash, out IntPtr plainData, out int plainDataSize) |
|
static bool | egCryptorIsEncryptionAvailable (IntPtr cryptor) |
|
static void | egCryptorDispose (IntPtr cryptor) |
|
| DiffieHellmanCryptoProviderNative () |
|
| DiffieHellmanCryptoProviderNative (byte[] sharedKeyHash) |
|
void | DeriveSharedKey (byte[] otherPartyPublicKey) |
|
byte[] | Encrypt (byte[] data) |
|
byte[] | Encrypt (byte[] data, int offset, int count) |
|
byte[] | Decrypt (byte[] data) |
|
byte[] | Decrypt (byte[] data, int offset, int count) |
|
void | Dispose () |
|
◆ DiffieHellmanCryptoProviderNative() [1/2]
Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.DiffieHellmanCryptoProviderNative |
( |
| ) |
|
|
inline |
◆ DiffieHellmanCryptoProviderNative() [2/2]
Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.DiffieHellmanCryptoProviderNative |
( |
byte[] |
sharedKeyHash | ) |
|
|
inline |
◆ Decrypt() [1/2]
byte [] Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.Decrypt |
( |
byte[] |
data | ) |
|
|
inline |
◆ Decrypt() [2/2]
byte [] Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.Decrypt |
( |
byte[] |
data, |
|
|
int |
offset, |
|
|
int |
count |
|
) |
| |
|
inline |
◆ DeriveSharedKey()
void Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.DeriveSharedKey |
( |
byte[] |
otherPartyPublicKey | ) |
|
|
inline |
◆ Dispose() [1/2]
void Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.Dispose |
( |
| ) |
|
|
inline |
◆ Dispose() [2/2]
void Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotected |
◆ egCryptorCreate()
static IntPtr Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.egCryptorCreate |
( |
| ) |
|
◆ egCryptorDecrypt()
static int Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.egCryptorDecrypt |
( |
IntPtr |
cryptor, |
|
|
byte[] |
encodedData, |
|
|
int |
encodedDataOffset, |
|
|
int |
encodedDataSize, |
|
|
byte[] |
sharedKeyHash, |
|
|
out IntPtr |
plainData, |
|
|
out int |
plainDataSize |
|
) |
| |
◆ egCryptorDeriveSharedKey()
static int Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.egCryptorDeriveSharedKey |
( |
IntPtr |
cryptor, |
|
|
byte[] |
serverPublicKey, |
|
|
int |
keySize |
|
) |
| |
◆ egCryptorDispose()
static void Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.egCryptorDispose |
( |
IntPtr |
cryptor | ) |
|
◆ egCryptorEncrypt()
static int Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.egCryptorEncrypt |
( |
IntPtr |
cryptor, |
|
|
byte[] |
plainData, |
|
|
int |
plainDataOffset, |
|
|
int |
plainDataSize, |
|
|
byte[] |
sharedKeyHash, |
|
|
out IntPtr |
encodedData, |
|
|
out int |
encodedDataSize |
|
) |
| |
◆ egCryptorIsEncryptionAvailable()
static bool Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.egCryptorIsEncryptionAvailable |
( |
IntPtr |
cryptor | ) |
|
◆ egCryptorPublicKey()
static int Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.egCryptorPublicKey |
( |
IntPtr |
cryptor, |
|
|
out IntPtr |
key, |
|
|
out int |
keySize |
|
) |
| |
◆ Encrypt() [1/2]
byte [] Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.Encrypt |
( |
byte[] |
data | ) |
|
|
inline |
◆ Encrypt() [2/2]
byte [] Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.Encrypt |
( |
byte[] |
data, |
|
|
int |
offset, |
|
|
int |
count |
|
) |
| |
|
inline |
◆ IsInitialized
bool Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.IsInitialized |
|
get |
◆ PublicKey
byte [] Photon.SocketServer.Security.DiffieHellmanCryptoProviderNative.PublicKey |
|
get |
The documentation for this class was generated from the following file: