public class PublicKeyJwks extends Object
JsonWebKey
collection.Constructor and Description |
---|
PublicKeyJwks(Collection<PublicKey> publicKeys) |
Modifier and Type | Method and Description |
---|---|
List<org.jose4j.jwk.JsonWebKey> |
getJsonWebKeys() |
static Collection<PublicKey> |
loadPublicKey(String pemLocation)
Convert PEM encoded public key files to a
PublicKey collection. |
public PublicKeyJwks(Collection<PublicKey> publicKeys)
public static Collection<PublicKey> loadPublicKey(String pemLocation) throws IOException
PublicKey
collection.pemLocation
- - location of PEM encoded file or directory containing PEM encoded files.IOException
- if PEM encoded files cannot be loaded from the filesystem successfully.public List<org.jose4j.jwk.JsonWebKey> getJsonWebKeys()