public class PublicKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
SIZE |
Constructor and Description |
---|
PublicKey(PrivateKey privateKey) |
Modifier and Type | Method and Description |
---|---|
PublicKey |
blind(byte[] messageCounterPrefix) |
PublicKey |
blind(PrivateKey privateKey) |
PublicKey |
blind(PublicKey publicKey) |
boolean |
equals(java.lang.Object obj) |
static PublicKey |
fromBytes(byte[] binaryKey) |
byte[] |
toBytes() |
byte[] |
toSymmetricKey() |
public static final int SIZE
public PublicKey(PrivateKey privateKey)
public byte[] toSymmetricKey() throws SymmetricKeyCreationFailed
SymmetricKeyCreationFailed
public PublicKey blind(PrivateKey privateKey)
public PublicKey blind(PublicKey publicKey) throws SymmetricKeyCreationFailed
SymmetricKeyCreationFailed
public PublicKey blind(byte[] messageCounterPrefix) throws SymmetricKeyCreationFailed
SymmetricKeyCreationFailed
public static PublicKey fromBytes(byte[] binaryKey)
public byte[] toBytes()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2023. All rights reserved.