메소드 | 설명 | |
---|---|---|
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 |