Class KeyConverter

    • Method Detail

      • toJavaKeys

        public static List<KeytoJavaKeys​(List<JWK> jwkList)
        Converts the specified list of JSON Web Keys (JWK) their standard Java class representation. Asymmetric 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.
        Parameters:
        jwkList - The JWK list. May be null.
        Returns:
        The converted keys, empty set if none or null.