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
SymmetricKeyCreationFailedpublic PublicKey blind(PrivateKey privateKey)
public PublicKey blind(PublicKey publicKey) throws SymmetricKeyCreationFailed
SymmetricKeyCreationFailedpublic PublicKey blind(byte[] messageCounterPrefix) throws SymmetricKeyCreationFailed
SymmetricKeyCreationFailedpublic static PublicKey fromBytes(byte[] binaryKey)
public byte[] toBytes()
public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2023. All rights reserved.