Package org.wildfly.security.jose.jwk
Class JWKParser
- java.lang.Object
-
- org.wildfly.security.jose.jwk.JWKParser
-
public class JWKParser extends Object
A JWK parser.- Since:
- 1.14.0
- Author:
- Stian Thorgersen, Farah Juma
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JWKParser
create()
static JWKParser
create(JWK jwk)
private PublicKey
createECPublicKey()
private PublicKey
createRSAPublicKey()
JWK
getJwk()
boolean
isKeyTypeSupported(String keyType)
JWKParser
parse(String jwk)
PublicKey
toPublicKey()
-
-
-
Field Detail
-
jwk
private JWK jwk
-
-
Constructor Detail
-
JWKParser
private JWKParser()
-
JWKParser
public JWKParser(JWK jwk)
-
-
Method Detail
-
create
public static JWKParser create()
-
getJwk
public JWK getJwk()
-
toPublicKey
public PublicKey toPublicKey()
-
isKeyTypeSupported
public boolean isKeyTypeSupported(String keyType)
-
createECPublicKey
private PublicKey createECPublicKey()
-
createRSAPublicKey
private PublicKey createRSAPublicKey()
-
-