public interface TlsContext
Modifier and Type | Method and Description |
---|---|
byte[] |
exportKeyingMaterial(java.lang.String asciiLabel,
byte[] context_value,
int length)
Export keying material according to RFC 5705: "Keying Material Exporters for TLS".
|
ProtocolVersion |
getClientVersion() |
java.security.SecureRandom |
getSecureRandom() |
SecurityParameters |
getSecurityParameters() |
ProtocolVersion |
getServerVersion() |
java.lang.Object |
getUserObject() |
boolean |
isServer() |
void |
setUserObject(java.lang.Object userObject) |
java.security.SecureRandom getSecureRandom()
SecurityParameters getSecurityParameters()
boolean isServer()
ProtocolVersion getClientVersion()
ProtocolVersion getServerVersion()
java.lang.Object getUserObject()
void setUserObject(java.lang.Object userObject)
byte[] exportKeyingMaterial(java.lang.String asciiLabel, byte[] context_value, int length)
asciiLabel
- indicates which application will use the exported keys.context_value
- allows the application using the exporter to mix its own data with the TLS PRF for
the exporter output.length
- the number of bytes to generate