mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Changed the root package from net.sf.briar to org.briarproject.
This commit is contained in:
18
briar-api/src/org/briarproject/api/LocalAuthor.java
Normal file
18
briar-api/src/org/briarproject/api/LocalAuthor.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package org.briarproject.api;
|
||||
|
||||
/** A pseudonym for the local user. */
|
||||
public class LocalAuthor extends Author {
|
||||
|
||||
private final byte[] privateKey;
|
||||
|
||||
public LocalAuthor(AuthorId id, String name, byte[] publicKey,
|
||||
byte[] privateKey) {
|
||||
super(id, name, publicKey);
|
||||
this.privateKey = privateKey;
|
||||
}
|
||||
|
||||
/** Returns the private key used to generate the pseudonym's signatures. */
|
||||
public byte[] getPrivateKey() {
|
||||
return privateKey;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user