Class SoftwareStatement


  • public class SoftwareStatement
    extends Object
    Version:
    December 4, 2018
    Author:
    Javier Rojas Blum
    • 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,
                                 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 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​(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)
      • headerToJSONObject

        protected org.json.JSONObject headerToJSONObject()
                                                  throws io.jans.as.model.exception.InvalidJwtException
        Throws:
        io.jans.as.model.exception.InvalidJwtException