public class ECDSASigningKey extends java.lang.Object implements SigningKey, org.cryptimeleon.math.serialization.StandaloneRepresentable
ECDSASignatureScheme.
Essentially a wrapper around Java's PrivateKey to fit into the Cryptimeleon API and support simple serialization.
| Constructor and Description |
|---|
ECDSASigningKey(java.security.PrivateKey secretKey) |
ECDSASigningKey(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 ECDSASigningKey(java.security.PrivateKey secretKey)
public ECDSASigningKey(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