public class SecurityParameters
extends java.lang.Object
Constructor and Description |
---|
SecurityParameters() |
Modifier and Type | Method and Description |
---|---|
int |
getCipherSuite() |
byte[] |
getClientRandom() |
short |
getCompressionAlgorithm() |
int |
getEntity() |
TlsSecret |
getMasterSecret() |
short |
getMaxFragmentLength() |
int |
getPrfAlgorithm() |
byte[] |
getPskIdentity()
Deprecated.
Use
getPSKIdentity() |
byte[] |
getPSKIdentity() |
byte[] |
getServerRandom() |
byte[] |
getSessionHash() |
byte[] |
getSRPIdentity() |
byte[] |
getTLSUnique() |
int |
getVerifyDataLength() |
boolean |
isEncryptThenMAC() |
boolean |
isExtendedMasterSecret() |
boolean |
isTruncatedHMac() |
public int getEntity()
ConnectionEnd
public int getCipherSuite()
CipherSuite
public short getCompressionAlgorithm()
CompressionMethod
public short getMaxFragmentLength()
MaxFragmentLength
, or -1 if nonepublic int getPrfAlgorithm()
PRFAlgorithm
public int getVerifyDataLength()
public TlsSecret getMasterSecret()
public byte[] getClientRandom()
public byte[] getServerRandom()
public byte[] getSessionHash()
public byte[] getPskIdentity()
getPSKIdentity()
public byte[] getPSKIdentity()
public byte[] getSRPIdentity()
public byte[] getTLSUnique()
public boolean isEncryptThenMAC()
public boolean isExtendedMasterSecret()
public boolean isTruncatedHMac()