mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +01:00
Handle security exception when setting handshake public key
This commit is contained in:
@@ -214,13 +214,14 @@ public interface ContactManager {
|
|||||||
* Sets the contact's handshake public key
|
* Sets the contact's handshake public key
|
||||||
*/
|
*/
|
||||||
void setHandshakePublicKey(Transaction txn, ContactId c,
|
void setHandshakePublicKey(Transaction txn, ContactId c,
|
||||||
PublicKey handshakePublicKey) throws DbException;
|
PublicKey handshakePublicKey) throws DbException,
|
||||||
|
GeneralSecurityException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the contact's handshake public key
|
* Sets the contact's handshake public key
|
||||||
*/
|
*/
|
||||||
void setHandshakePublicKey(ContactId c, PublicKey handshakePublicKey)
|
void setHandshakePublicKey(ContactId c, PublicKey handshakePublicKey)
|
||||||
throws DbException;
|
throws DbException, GeneralSecurityException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if a contact with this {@code remoteAuthorId} belongs to
|
* Returns true if a contact with this {@code remoteAuthorId} belongs to
|
||||||
|
|||||||
Reference in New Issue
Block a user