Class ECDSAPublicKey
java.lang.Object
io.jans.as.model.crypto.PublicKey
io.jans.as.model.crypto.signature.ECDSAPublicKey
- All Implemented Interfaces:
JSONable
The Public Key for the Elliptic Curve Digital Signature Algorithm (ECDSA)
- Version:
- July 31, 2016
- Author:
- Javier Rojas Blum
-
Constructor Summary
ConstructorsConstructorDescriptionECDSAPublicKey(SignatureAlgorithm signatureAlgorithm, String x, String y) ECDSAPublicKey(SignatureAlgorithm signatureAlgorithm, BigInteger x, BigInteger y) -
Method Summary
Modifier and TypeMethodDescriptiongetX()getY()voidsetSignatureAlgorithm(SignatureAlgorithm signatureAlgorithm) voidsetX(BigInteger x) voidsetY(BigInteger y) org.json.JSONObjecttoString()Methods inherited from class io.jans.as.model.crypto.PublicKey
getCertificate, getKeyId, setCertificate, setKeyId
-
Constructor Details
-
ECDSAPublicKey
-
ECDSAPublicKey
-
-
Method Details
-
getSignatureAlgorithm
- Overrides:
getSignatureAlgorithmin classPublicKey
-
setSignatureAlgorithm
- Overrides:
setSignatureAlgorithmin classPublicKey
-
getX
-
setX
-
getY
-
setY
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException- Throws:
org.json.JSONException
-
toString
-