Package io.jans.as.client.model
Class SoftwareStatement
- java.lang.Object
-
- io.jans.as.client.model.SoftwareStatement
-
public class SoftwareStatement extends java.lang.Object
- Version:
- December 4, 2018
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description SoftwareStatement(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)
SoftwareStatement(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, java.lang.String sharedKey, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.json.JSONObject
getClaims()
java.lang.String
getEncodedJwt()
java.lang.String
getKeyId()
Identifier of the key used to sign this state token at the issuer.io.jans.as.model.crypto.signature.SignatureAlgorithm
getSignatureAlgorithm()
protected org.json.JSONObject
headerToJSONObject()
void
setClaims(org.json.JSONObject claims)
void
setKeyId(java.lang.String keyId)
Identifier of the key used to sign this state token at the issuer.void
setSignatureAlgorithm(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm)
-
-
-
Constructor Detail
-
SoftwareStatement
public SoftwareStatement(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)
-
SoftwareStatement
public SoftwareStatement(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, java.lang.String sharedKey, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)
-
-
Method Detail
-
getSignatureAlgorithm
public io.jans.as.model.crypto.signature.SignatureAlgorithm getSignatureAlgorithm()
-
setSignatureAlgorithm
public void setSignatureAlgorithm(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm)
-
getKeyId
public java.lang.String getKeyId()
Identifier of the key used to sign this state token at the issuer. Identifier of the key used to encrypt this JWT state token at the issuer.- Returns:
- The key identifier
-
setKeyId
public void setKeyId(java.lang.String keyId)
Identifier of the key used to sign this state token at the issuer. Identifier of the key used to encrypt this JWT state token at the issuer.- Parameters:
keyId
- The key identifier
-
getClaims
public org.json.JSONObject getClaims()
-
setClaims
public void setClaims(org.json.JSONObject claims)
-
getEncodedJwt
public java.lang.String getEncodedJwt() throws java.lang.Exception
- Throws:
java.lang.Exception
-
headerToJSONObject
protected org.json.JSONObject headerToJSONObject() throws io.jans.as.model.exception.InvalidJwtException
- Throws:
io.jans.as.model.exception.InvalidJwtException
-
-