public class ECDSAVerificationKey extends java.lang.Object implements VerificationKey, org.cryptimeleon.math.serialization.StandaloneRepresentable
ECDSASignatureScheme.
Essentially a wrapper around Java's PublicKey to fit into the Cryptimeleon API and support simple serialization.
| Constructor and Description |
|---|
ECDSAVerificationKey(java.security.PublicKey privateKey) |
ECDSAVerificationKey(org.cryptimeleon.math.serialization.Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
int |
hashCode() |
public ECDSAVerificationKey(java.security.PublicKey privateKey)
public ECDSAVerificationKey(org.cryptimeleon.math.serialization.Representation repr)
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object