public class ChannelSecurity extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelSecurity.SecretKeys |
static class |
ChannelSecurity.SecurityKeys |
| Constructor and Description |
|---|
ChannelSecurity(ChannelSecurity.SecurityKeys currentSecurityKeys,
ChannelSecurityToken currentToken) |
ChannelSecurity(ChannelSecurity.SecurityKeys currentKeys,
ChannelSecurityToken currentToken,
@Nullable ChannelSecurity.SecurityKeys previousKeys,
@Nullable ChannelSecurityToken previousToken) |
| Modifier and Type | Method and Description |
|---|---|
static ChannelSecurity.SecurityKeys |
generateKeyPair(SecureChannel channel,
ByteString clientNonce,
ByteString serverNonce) |
ChannelSecurity.SecurityKeys |
getCurrentKeys() |
ChannelSecurityToken |
getCurrentToken() |
Optional<ChannelSecurity.SecurityKeys> |
getPreviousKeys() |
Optional<ChannelSecurityToken> |
getPreviousToken() |
public ChannelSecurity(ChannelSecurity.SecurityKeys currentSecurityKeys, ChannelSecurityToken currentToken)
public ChannelSecurity(ChannelSecurity.SecurityKeys currentKeys, ChannelSecurityToken currentToken, @Nullable @Nullable ChannelSecurity.SecurityKeys previousKeys, @Nullable @Nullable ChannelSecurityToken previousToken)
public ChannelSecurity.SecurityKeys getCurrentKeys()
public ChannelSecurityToken getCurrentToken()
public Optional<ChannelSecurity.SecurityKeys> getPreviousKeys()
public Optional<ChannelSecurityToken> getPreviousToken()
public static ChannelSecurity.SecurityKeys generateKeyPair(SecureChannel channel, ByteString clientNonce, ByteString serverNonce)
Copyright © 2025. All rights reserved.