Package swim.security

Class JsonWebKey

  • All Implemented Interfaces:
    swim.codec.Debug

    public class JsonWebKey
    extends Object
    implements swim.codec.Debug
    • Field Detail

      • value

        protected final swim.structure.Value value
    • Constructor Detail

      • JsonWebKey

        public JsonWebKey​(swim.structure.Value value)
    • Method Detail

      • get

        public swim.structure.Value get​(String name)
      • keyType

        public String keyType()
      • publicKeyUse

        public String publicKeyUse()
      • keyOperations

        public swim.collections.HashTrieSet<String> keyOperations()
      • algorithm

        public String algorithm()
      • keyId

        public String keyId()
      • x509Url

        public String x509Url()
      • x509CertificateChain

        public swim.collections.FingerTrieSeq<String> x509CertificateChain()
      • x509Sha1Thumbprint

        public String x509Sha1Thumbprint()
      • x509Sha256Thumbprint

        public String x509Sha256Thumbprint()
      • key

        public Key key()
      • keyDef

        public KeyDef keyDef()
      • ecKey

        public ECKey ecKey()
      • rsaKey

        public RSAKey rsaKey()
      • symmetricKey

        public Key symmetricKey​(String algorithm)
      • symmetricKey

        public Key symmetricKey()
      • toValue

        public final swim.structure.Value toValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> swim.codec.Output<T> debug​(swim.codec.Output<T> output)
        Specified by:
        debug in interface swim.codec.Debug
      • from

        public static JsonWebKey from​(swim.structure.Value value)