Class ECDSAPublicKey
- java.lang.Object
-
- io.jans.as.model.crypto.PublicKey
-
- io.jans.as.model.crypto.signature.ECDSAPublicKey
-
-
Constructor Summary
Constructors Constructor Description ECDSAPublicKey(SignatureAlgorithm signatureAlgorithm, java.lang.String x, java.lang.String y)
ECDSAPublicKey(SignatureAlgorithm signatureAlgorithm, java.math.BigInteger x, java.math.BigInteger y)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureAlgorithm
getSignatureAlgorithm()
java.math.BigInteger
getX()
java.math.BigInteger
getY()
void
setSignatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
void
setX(java.math.BigInteger x)
void
setY(java.math.BigInteger y)
org.json.JSONObject
toJSONObject()
java.lang.String
toString()
-
Methods inherited from class io.jans.as.model.crypto.PublicKey
getCertificate, getKeyId, setCertificate, setKeyId
-
-
-
-
Constructor Detail
-
ECDSAPublicKey
public ECDSAPublicKey(SignatureAlgorithm signatureAlgorithm, java.math.BigInteger x, java.math.BigInteger y)
-
ECDSAPublicKey
public ECDSAPublicKey(SignatureAlgorithm signatureAlgorithm, java.lang.String x, java.lang.String y)
-
-
Method Detail
-
getSignatureAlgorithm
public SignatureAlgorithm getSignatureAlgorithm()
- Overrides:
getSignatureAlgorithm
in classPublicKey
-
setSignatureAlgorithm
public void setSignatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
- Overrides:
setSignatureAlgorithm
in classPublicKey
-
getX
public java.math.BigInteger getX()
-
setX
public void setX(java.math.BigInteger x)
-
getY
public java.math.BigInteger getY()
-
setY
public void setY(java.math.BigInteger y)
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException
- Throws:
org.json.JSONException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-