Package io.jans.as.model.crypto
Class PublicKey
- java.lang.Object
-
- io.jans.as.model.crypto.PublicKey
-
- All Implemented Interfaces:
JSONable
- Direct Known Subclasses:
ECDSAPublicKey
,EDDSAPublicKey
,RSAPublicKey
public abstract class PublicKey extends Object implements JSONable
The Public Key for Cryptography algorithms- Version:
- June 25, 2016
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description PublicKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Certificate
getCertificate()
String
getKeyId()
SignatureAlgorithm
getSignatureAlgorithm()
void
setCertificate(Certificate certificate)
void
setKeyId(String keyId)
void
setSignatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.jans.as.model.common.JSONable
toJSONObject
-
-
-
-
Method Detail
-
getKeyId
public String getKeyId()
-
setKeyId
public void setKeyId(String keyId)
-
getSignatureAlgorithm
public SignatureAlgorithm getSignatureAlgorithm()
-
setSignatureAlgorithm
public void setSignatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
-
getCertificate
public Certificate getCertificate()
-
setCertificate
public void setCertificate(Certificate certificate)
-
-