Метод | Описание | |
---|---|---|
AddNegotiatedDheGroupsClientExtension ( IDictionary extensions, byte dheGroups ) : void | ||
AddNegotiatedDheGroupsServerExtension ( IDictionary extensions, byte dheGroup ) : void | ||
AreCompatibleParameters ( DHParameters a, DHParameters b ) : bool | ||
CalculateDHBasicAgreement ( DHPublicKeyParameters publicKey, DHPrivateKeyParameters privateKey ) : byte[] | ||
ContainsDheCipherSuites ( int cipherSuites ) : bool | ||
CreateNegotiatedDheGroupsClientExtension ( byte dheGroups ) : byte[] | ||
CreateNegotiatedDheGroupsServerExtension ( byte dheGroup ) : byte[] | ||
GenerateDHKeyPair ( SecureRandom random, DHParameters dhParams ) : AsymmetricCipherKeyPair | ||
GenerateEphemeralClientKeyExchange ( SecureRandom random, DHParameters dhParams, Stream output ) : DHPrivateKeyParameters | ||
GenerateEphemeralServerKeyExchange ( SecureRandom random, DHParameters dhParams, Stream output ) : DHPrivateKeyParameters | ||
GetNegotiatedDheGroupsClientExtension ( IDictionary extensions ) : byte[] | ||
GetNegotiatedDheGroupsServerExtension ( IDictionary extensions ) : short | ||
GetParametersForDHEGroup ( short dheGroup ) : DHParameters | ||
IsDheCipherSuite ( int cipherSuite ) : bool | ||
ReadDHParameter ( Stream input ) : BigInteger | ||
ReadNegotiatedDheGroupsClientExtension ( byte extensionData ) : byte[] | ||
ReadNegotiatedDheGroupsServerExtension ( byte extensionData ) : byte | ||
ValidateDHParameters ( DHParameters parameters ) : DHParameters | ||
ValidateDHPublicKey ( DHPublicKeyParameters key ) : DHPublicKeyParameters | ||
WriteDHParameter ( BigInteger x, Stream output ) : void |
Метод | Описание | |
---|---|---|
FromHex ( String hex ) : BigInteger | ||
FromSafeP ( String hexP ) : DHParameters |
public static AddNegotiatedDheGroupsClientExtension ( IDictionary extensions, byte dheGroups ) : void | ||
extensions | IDictionary | |
dheGroups | byte | |
Результат | void |
public static AddNegotiatedDheGroupsServerExtension ( IDictionary extensions, byte dheGroup ) : void | ||
extensions | IDictionary | |
dheGroup | byte | |
Результат | void |
public static AreCompatibleParameters ( DHParameters a, DHParameters b ) : bool | ||
a | DHParameters | |
b | DHParameters | |
Результат | bool |
public static CalculateDHBasicAgreement ( DHPublicKeyParameters publicKey, DHPrivateKeyParameters privateKey ) : byte[] | ||
publicKey | DHPublicKeyParameters | |
privateKey | DHPrivateKeyParameters | |
Результат | byte[] |
public static ContainsDheCipherSuites ( int cipherSuites ) : bool | ||
cipherSuites | int | |
Результат | bool |
public static CreateNegotiatedDheGroupsClientExtension ( byte dheGroups ) : byte[] | ||
dheGroups | byte | |
Результат | byte[] |
public static CreateNegotiatedDheGroupsServerExtension ( byte dheGroup ) : byte[] | ||
dheGroup | byte | |
Результат | byte[] |
public static GenerateDHKeyPair ( SecureRandom random, DHParameters dhParams ) : AsymmetricCipherKeyPair | ||
random | SecureRandom | |
dhParams | DHParameters | |
Результат | AsymmetricCipherKeyPair |
public static GenerateEphemeralClientKeyExchange ( SecureRandom random, DHParameters dhParams, Stream output ) : DHPrivateKeyParameters | ||
random | SecureRandom | |
dhParams | DHParameters | |
output | Stream | |
Результат | DHPrivateKeyParameters |
public static GenerateEphemeralServerKeyExchange ( SecureRandom random, DHParameters dhParams, Stream output ) : DHPrivateKeyParameters | ||
random | SecureRandom | |
dhParams | DHParameters | |
output | Stream | |
Результат | DHPrivateKeyParameters |
public static GetNegotiatedDheGroupsClientExtension ( IDictionary extensions ) : byte[] | ||
extensions | IDictionary | |
Результат | byte[] |
public static GetNegotiatedDheGroupsServerExtension ( IDictionary extensions ) : short | ||
extensions | IDictionary | |
Результат | short |
public static GetParametersForDHEGroup ( short dheGroup ) : DHParameters | ||
dheGroup | short | |
Результат | DHParameters |
public static IsDheCipherSuite ( int cipherSuite ) : bool | ||
cipherSuite | int | |
Результат | bool |
public static ReadDHParameter ( Stream input ) : BigInteger | ||
input | Stream | |
Результат | BigInteger |
public static ReadNegotiatedDheGroupsClientExtension ( byte extensionData ) : byte[] | ||
extensionData | byte | |
Результат | byte[] |
public static ReadNegotiatedDheGroupsServerExtension ( byte extensionData ) : byte | ||
extensionData | byte | |
Результат | byte |
public static ValidateDHParameters ( DHParameters parameters ) : DHParameters | ||
parameters | DHParameters | |
Результат | DHParameters |
public static ValidateDHPublicKey ( DHPublicKeyParameters key ) : DHPublicKeyParameters | ||
key | DHPublicKeyParameters | |
Результат | DHPublicKeyParameters |
public static WriteDHParameter ( BigInteger x, Stream output ) : void | ||
x | BigInteger | |
output | Stream | |
Результат | void |