final class PreSharedKeyExtension extends Object
| 限定符和类型 | 类和说明 |
|---|---|
private static class |
PreSharedKeyExtension.CHPreSharedKeyAbsence |
private static class |
PreSharedKeyExtension.CHPreSharedKeyConsumer |
private static class |
PreSharedKeyExtension.CHPreSharedKeyProducer |
private static class |
PreSharedKeyExtension.CHPreSharedKeySpec |
private static class |
PreSharedKeyExtension.CHPreSharedKeyStringizer |
private static class |
PreSharedKeyExtension.CHPreSharedKeyUpdate |
(专用程序包) static class |
PreSharedKeyExtension.PartialClientHelloMessage |
private static class |
PreSharedKeyExtension.PskIdentity |
private static class |
PreSharedKeyExtension.SHPreSharedKeyAbsence |
private static class |
PreSharedKeyExtension.SHPreSharedKeyConsumer |
private static class |
PreSharedKeyExtension.SHPreSharedKeyProducer |
private static class |
PreSharedKeyExtension.SHPreSharedKeySpec |
private static class |
PreSharedKeyExtension.SHPreSharedKeyStringizer |
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) static HandshakeProducer |
chNetworkProducer |
(专用程序包) static HandshakeAbsence |
chOnLoadAbsence |
(专用程序包) static SSLExtension.ExtensionConsumer |
chOnLoadConsumer |
(专用程序包) static HandshakeConsumer |
chOnTradeConsumer |
(专用程序包) static SSLStringizer |
chStringizer |
(专用程序包) static HandshakeProducer |
shNetworkProducer |
(专用程序包) static HandshakeAbsence |
shOnLoadAbsence |
(专用程序包) static SSLExtension.ExtensionConsumer |
shOnLoadConsumer |
(专用程序包) static SSLStringizer |
shStringizer |
| 构造器和说明 |
|---|
PreSharedKeyExtension() |
| 限定符和类型 | 方法和说明 |
|---|---|
private static boolean |
canRejoin(ClientHello.ClientHelloMessage clientHello,
ServerHandshakeContext shc,
SSLSessionImpl s) |
private static void |
checkBinder(ServerHandshakeContext shc,
SSLSessionImpl session,
HandshakeHash pskBinderHash,
byte[] binder) |
private static byte[] |
computeBinder(HandshakeContext context,
SecretKey binderKey,
HandshakeHash hash,
SSLSessionImpl session,
HandshakeContext ctx,
ClientHello.ClientHelloMessage hello,
PreSharedKeyExtension.CHPreSharedKeySpec pskPrototype) |
private static byte[] |
computeBinder(HandshakeContext context,
SecretKey binderKey,
SSLSessionImpl session,
byte[] digest) |
private static byte[] |
computeBinder(HandshakeContext context,
SecretKey binderKey,
SSLSessionImpl session,
HandshakeHash pskBinderHash) |
private static SecretKey |
deriveBinderKey(HandshakeContext context,
SecretKey psk,
SSLSessionImpl session) |
static final HandshakeProducer chNetworkProducer
static final SSLExtension.ExtensionConsumer chOnLoadConsumer
static final HandshakeAbsence chOnLoadAbsence
static final HandshakeConsumer chOnTradeConsumer
static final SSLStringizer chStringizer
static final HandshakeProducer shNetworkProducer
static final SSLExtension.ExtensionConsumer shOnLoadConsumer
static final HandshakeAbsence shOnLoadAbsence
static final SSLStringizer shStringizer
private static boolean canRejoin(ClientHello.ClientHelloMessage clientHello, ServerHandshakeContext shc, SSLSessionImpl s)
private static void checkBinder(ServerHandshakeContext shc, SSLSessionImpl session, HandshakeHash pskBinderHash, byte[] binder) throws IOException
IOExceptionprivate static byte[] computeBinder(HandshakeContext context, SecretKey binderKey, SSLSessionImpl session, HandshakeHash pskBinderHash) throws IOException
IOExceptionprivate static byte[] computeBinder(HandshakeContext context, SecretKey binderKey, HandshakeHash hash, SSLSessionImpl session, HandshakeContext ctx, ClientHello.ClientHelloMessage hello, PreSharedKeyExtension.CHPreSharedKeySpec pskPrototype) throws IOException
IOExceptionprivate static byte[] computeBinder(HandshakeContext context, SecretKey binderKey, SSLSessionImpl session, byte[] digest) throws IOException
IOExceptionprivate static SecretKey deriveBinderKey(HandshakeContext context, SecretKey psk, SSLSessionImpl session) throws IOException
IOExceptionCopyright © 2023. All rights reserved.