public interface SessionKeys
| Modifier and Type | Field and Description |
|---|---|
static int |
Current |
static byte |
HIGH_RECEIVE_BYTE |
static byte |
HIGH_SEND_BYTE |
static byte |
LOW_RECEIVE_BYTE |
static byte |
LOW_SEND_BYTE |
static int |
Previous |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getIsUsedReceivingMACKey() |
int |
getLocalKeyID() |
KeyPair |
getLocalPair() |
byte[] |
getReceivingAESKey() |
byte[] |
getReceivingCtr() |
byte[] |
getReceivingMACKey() |
DHPublicKey |
getRemoteKey() |
int |
getRemoteKeyID() |
byte[] |
getSendingAESKey() |
byte[] |
getSendingCtr() |
byte[] |
getSendingMACKey() |
void |
incrementSendingCtr() |
void |
setIsUsedReceivingMACKey(Boolean isUsedReceivingMACKey) |
void |
setLocalPair(KeyPair keyPair,
int localPairKeyID) |
void |
setReceivingCtr(byte[] ctr) |
void |
setRemoteDHPublicKey(DHPublicKey pubKey,
int remoteKeyID) |
void |
setS(BigInteger s) |
static final int Previous
static final int Current
static final byte HIGH_SEND_BYTE
static final byte HIGH_RECEIVE_BYTE
static final byte LOW_SEND_BYTE
static final byte LOW_RECEIVE_BYTE
void setLocalPair(KeyPair keyPair, int localPairKeyID)
void setRemoteDHPublicKey(DHPublicKey pubKey, int remoteKeyID)
void incrementSendingCtr()
byte[] getSendingCtr()
byte[] getReceivingCtr()
void setReceivingCtr(byte[] ctr)
byte[] getSendingAESKey()
throws OtrException
OtrExceptionbyte[] getReceivingAESKey()
throws OtrException
OtrExceptionbyte[] getSendingMACKey()
throws OtrException
OtrExceptionbyte[] getReceivingMACKey()
throws OtrException
OtrExceptionvoid setS(BigInteger s)
void setIsUsedReceivingMACKey(Boolean isUsedReceivingMACKey)
Boolean getIsUsedReceivingMACKey()
int getLocalKeyID()
int getRemoteKeyID()
DHPublicKey getRemoteKey()
KeyPair getLocalPair()
Copyright © 2015. All rights reserved.