Package com.nimbusds.jose.jwk
Class KeyConverter
java.lang.Object
com.nimbusds.jose.jwk.KeyConverter
Key converter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoJavaKeys(List<JWK> jwkList) Converts the specified list of JSON Web Keys (JWK) their standard Java class representation.
-
Constructor Details
-
KeyConverter
public KeyConverter()
-
-
Method Details
-
toJavaKeys
Converts the specified list of JSON Web Keys (JWK) their standard Java class representation. AsymmetricRSAandEC keypairs are converted toPublicKeyandPrivateKey(if specified) objects.secret JWKsare converted toSecretKeyobjects. Key conversion exceptions are silently ignored.- Parameters:
jwkList- The JWK list. May benull.- Returns:
- The converted keys, empty set if none or
null.
-