Class Key<E extends PrivateKey,​F extends PublicKey>

    • Constructor Detail

      • Key

        public Key()
    • Method Detail

      • getKeyType

        public String getKeyType()
      • setKeyType

        public void setKeyType​(String keyType)
      • getUse

        public String getUse()
      • setUse

        public void setUse​(String use)
      • getAlgorithm

        public String getAlgorithm()
      • setAlgorithm

        public void setAlgorithm​(String algorithm)
      • getKeyId

        public String getKeyId()
      • setKeyId

        public void setKeyId​(String keyId)
      • getExpirationTime

        public Long getExpirationTime()
      • setExpirationTime

        public void setExpirationTime​(Long expirationTime)
      • getCurve

        public Object getCurve()
      • setCurve

        public void setCurve​(Object curve)
      • getPrivateKey

        public E getPrivateKey()
      • setPrivateKey

        public void setPrivateKey​(E privateKey)
      • getPublicKey

        public F getPublicKey()
      • setPublicKey

        public void setPublicKey​(F publicKey)
      • setCertificate

        public void setCertificate​(Certificate certificate)
      • toJSONObject

        public org.json.JSONObject toJSONObject()
                                         throws org.json.JSONException
        Specified by:
        toJSONObject in interface JSONable
        Throws:
        org.json.JSONException