public class KeyConverter extends Object
| Constructor and Description |
|---|
KeyConverter() |
| Modifier and Type | Method and Description |
|---|---|
static List<Key> |
toJavaKeys(List<JWK> jwkList)
Converts the specified list of JSON Web Keys (JWK) their standard
Java class representation.
|
public KeyConverter()
public static List<Key> toJavaKeys(List<JWK> jwkList)
RSA and
EC key pairs are converted to
PublicKey and PrivateKey
(if specified) objects. secret JWKs are
converted to SecretKey objects. Key conversion
exceptions are silently ignored.jwkList - The JWK list. May be null.null.Copyright © 2016 Connect2id Ltd.. All rights reserved.