Package io.jans.as.model.crypto
Class Certificate
- java.lang.Object
-
- io.jans.as.model.crypto.Certificate
-
public class Certificate extends java.lang.Object
- Version:
- June 29, 2016
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description Certificate(SignatureAlgorithm signatureAlgorithm, java.security.cert.X509Certificate x509Certificate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECDSAPublicKey
getEcdsaPublicKey()
PublicKey
getPublicKey()
RSAPublicKey
getRsaPublicKey()
org.json.JSONArray
toJSONArray()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Certificate
public Certificate(SignatureAlgorithm signatureAlgorithm, java.security.cert.X509Certificate x509Certificate)
-
-
Method Detail
-
getPublicKey
public PublicKey getPublicKey()
-
getRsaPublicKey
public RSAPublicKey getRsaPublicKey()
-
getEcdsaPublicKey
public ECDSAPublicKey getEcdsaPublicKey()
-
toJSONArray
public org.json.JSONArray toJSONArray() throws org.json.JSONException
- Throws:
org.json.JSONException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-