Class JsonWebKeyPair.KeyPairBuilder
java.lang.Object
de.christofreichardt.json.webkey.JsonWebKey.Builder<JsonWebKeyPair.KeyPairBuilder>
de.christofreichardt.json.webkey.JsonWebKeyPair.KeyPairBuilder
- Enclosing class:
JsonWebKeyPair
public static class JsonWebKeyPair.KeyPairBuilder
extends JsonWebKey.Builder<JsonWebKeyPair.KeyPairBuilder>
- Author:
- Christof Reichardt
-
Constructor Summary
ConstructorsConstructorDescriptionKeyPairBuilder(KeyPair keyPair) Creates theJsonWebKeyPair.KeyPairBuilderpreconfigured with the givenKeyPair. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theJsonWebKeyPairwith the configured parameters.Methods inherited from class JsonWebKey.Builder
withKid
-
Constructor Details
-
KeyPairBuilder
Creates theJsonWebKeyPair.KeyPairBuilderpreconfigured with the givenKeyPair.- Parameters:
keyPair- the requestedKeyPair
-
-
Method Details
-
build
Builds theJsonWebKeyPairwith the configured parameters.- Returns:
- the appropriately configured
JsonWebKeyPairinstance
-