public class JWKBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PUBLIC_KEY_USE |
Modifier and Type | Method and Description |
---|---|
JWKBuilder |
algorithm(String algorithm) |
static JWKBuilder |
create() |
JWK |
ec(Key key) |
JWKBuilder |
kid(String kid) |
JWK |
rs256(PublicKey key) |
JWK |
rsa(Key key) |
JWK |
rsa(Key key,
X509Certificate certificate) |
public static final String DEFAULT_PUBLIC_KEY_USE
public static JWKBuilder create()
public JWKBuilder kid(String kid)
public JWKBuilder algorithm(String algorithm)
public JWK rsa(Key key, X509Certificate certificate)
Copyright © 2019 JBoss by Red Hat. All rights reserved.