C# Class socks5.Encryption.SocksEncryption

Afficher le fichier Open project: ThrDev/Socks5 Class Usage Examples

Méthodes publiques

Свойство Type Description
key System.Security.Cryptography.RSACryptoServiceProvider

Méthodes publiques

Méthode Description
GenerateKeys ( ) : void
GetAuthType ( ) : AuthTypes
GetPublicKey ( ) : byte[]
ProcessInputData ( byte buffer, int offset, int count ) : byte[]
ProcessOutputData ( byte buffer, int offset, int count ) : byte[]
SetEncKey ( byte key ) : void
SetKey ( byte key, int offset, int len ) : void
SetType ( AuthTypes k ) : void
ShareEncryptionKey ( ) : byte[]
SocksEncryption ( ) : System

Method Details

GenerateKeys() public méthode

public GenerateKeys ( ) : void
Résultat void

GetAuthType() public méthode

public GetAuthType ( ) : AuthTypes
Résultat AuthTypes

GetPublicKey() public méthode

public GetPublicKey ( ) : byte[]
Résultat byte[]

ProcessInputData() public méthode

public ProcessInputData ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
Résultat byte[]

ProcessOutputData() public méthode

public ProcessOutputData ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
Résultat byte[]

SetEncKey() public méthode

public SetEncKey ( byte key ) : void
key byte
Résultat void

SetKey() public méthode

public SetKey ( byte key, int offset, int len ) : void
key byte
offset int
len int
Résultat void

SetType() public méthode

public SetType ( AuthTypes k ) : void
k AuthTypes
Résultat void

ShareEncryptionKey() public méthode

public ShareEncryptionKey ( ) : byte[]
Résultat byte[]

SocksEncryption() public méthode

public SocksEncryption ( ) : System
Résultat System

Property Details

key public_oe property

public RSACryptoServiceProvider,System.Security.Cryptography key
Résultat System.Security.Cryptography.RSACryptoServiceProvider