- java.lang.Object
-
- swim.security.JsonWebKey
-
-
Constructor Summary
Constructors Constructor Description JsonWebKey(Value value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
algorithm()
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.ECKey
ecKey()
ECPrivateKey
ecPrivateKey()
ECPublicKey
ecPublicKey()
boolean
equals(Object other)
static JsonWebKey
from(Value value)
Value
get(String name)
int
hashCode()
Key
key()
KeyDef
keyDef()
String
keyId()
HashTrieSet<String>
keyOperations()
String
keyType()
static JsonWebKey
parse(String jwk)
PrivateKey
privateKey()
PrivateKeyDef
privateKeyDef()
PublicKey
publicKey()
PublicKeyDef
publicKeyDef()
String
publicKeyUse()
RSAKey
rsaKey()
RSAPrivateKey
rsaPrivateKey()
RSAPublicKey
rsaPublicKey()
Key
symmetricKey()
Key
symmetricKey(String algorithm)
String
toString()
Value
toValue()
FingerTrieSeq<String>
x509CertificateChain()
String
x509Sha1Thumbprint()
String
x509Sha256Thumbprint()
String
x509Url()
-
-
-
Field Detail
-
value
protected final Value value
-
-
Constructor Detail
-
JsonWebKey
public JsonWebKey(Value value)
-
-
Method Detail
-
keyType
public String keyType()
-
publicKeyUse
public String publicKeyUse()
-
keyOperations
public HashTrieSet<String> keyOperations()
-
algorithm
public String algorithm()
-
keyId
public String keyId()
-
x509Url
public String x509Url()
-
x509CertificateChain
public FingerTrieSeq<String> x509CertificateChain()
-
x509Sha1Thumbprint
public String x509Sha1Thumbprint()
-
x509Sha256Thumbprint
public String x509Sha256Thumbprint()
-
key
public Key key()
-
keyDef
public KeyDef keyDef()
-
publicKey
public PublicKey publicKey()
-
publicKeyDef
public PublicKeyDef publicKeyDef()
-
privateKey
public PrivateKey privateKey()
-
privateKeyDef
public PrivateKeyDef privateKeyDef()
-
ecKey
public ECKey ecKey()
-
ecPublicKey
public ECPublicKey ecPublicKey()
-
ecPrivateKey
public ECPrivateKey ecPrivateKey()
-
rsaKey
public RSAKey rsaKey()
-
rsaPublicKey
public RSAPublicKey rsaPublicKey()
-
rsaPrivateKey
public RSAPrivateKey rsaPrivateKey()
-
symmetricKey
public Key symmetricKey()
-
toValue
public final Value toValue()
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
from
public static JsonWebKey from(Value value)
-
parse
public static JsonWebKey parse(String jwk)
-
-