Class RequestedKeyInfo
- java.lang.Object
-
- io.github.ma1uta.matrix.event.nested.RequestedKeyInfo
-
public class RequestedKeyInfo extends Object
Requested key info.
-
-
Constructor Summary
Constructors Constructor Description RequestedKeyInfo()
-
Method Summary
Modifier and Type Method Description String
getAlgorithm()
String
getRoomId()
String
getSenderKey()
String
getSessionId()
void
setAlgorithm(String algorithm)
void
setRoomId(String roomId)
void
setSenderKey(String senderKey)
void
setSessionId(String sessionId)
-
-
-
Field Detail
-
algorithm
private String algorithm
Required. The encryption algorithm the requested key in this event is to be used with.
-
roomId
private String roomId
Required. The room where the key is used.
-
senderKey
private String senderKey
Required. The Curve25519 key of the device which initiated the session originally.
-
sessionId
private String sessionId
Required. The ID of the session that the key is for.
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
-
setAlgorithm
public void setAlgorithm(String algorithm)
-
getRoomId
public String getRoomId()
-
setRoomId
public void setRoomId(String roomId)
-
getSessionId
public String getSessionId()
-
setSessionId
public void setSessionId(String sessionId)
-
getSenderKey
public String getSenderKey()
-
setSenderKey
public void setSenderKey(String senderKey)
-
-