Class ECDSAPrivateKey
- java.lang.Object
-
- io.jans.as.model.crypto.PrivateKey
-
- io.jans.as.model.crypto.signature.ECDSAPrivateKey
-
- All Implemented Interfaces:
JSONable
public class ECDSAPrivateKey extends PrivateKey
The Private Key for the Elliptic Curve Digital Signature Algorithm (ECDSA)- Version:
- July 31, 2016
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description ECDSAPrivateKey(SignatureAlgorithm signatureAlgorithm, BigInteger d)ECDSAPrivateKey(String d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetD()voidsetD(BigInteger d)org.json.JSONObjecttoJSONObject()StringtoString()-
Methods inherited from class io.jans.as.model.crypto.PrivateKey
getKeyId, getSignatureAlgorithm, setKeyId, setSignatureAlgorithm
-
-
-
-
Constructor Detail
-
ECDSAPrivateKey
public ECDSAPrivateKey(SignatureAlgorithm signatureAlgorithm, BigInteger d)
-
ECDSAPrivateKey
public ECDSAPrivateKey(String d)
-
-
Method Detail
-
getD
public BigInteger getD()
-
setD
public void setD(BigInteger d)
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException- Throws:
org.json.JSONException
-
-