Android Open Source - BLEMeshChat Owned Identity Packet

From Project

Back to project page BLEMeshChat.


The source code is released under:

GNU General Public License

If you think the Android project BLEMeshChat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package pro.dbro.ble.protocol;
//  w w  w .  java 2 s. c  om

 * An Identity for the local peer
 * Created by davidbrodsky on 10/13/14.
public class OwnedIdentityPacket extends IdentityPacket {

    public final byte[] secretKey;

    public OwnedIdentityPacket(@NonNull final byte[] secretKey, @NonNull final byte[] publicKey,
                               @NonNull String alias, byte[] rawPacket) {
        super(publicKey, alias, null, rawPacket);
        this.secretKey = secretKey;

Java Source Code List