Package org.forgerock.json.jose.jwk
Class EcJWK.Builder
- Enclosing class:
 - EcJWK
 
EC JWK builder.
- 
Field Summary
Fields inherited from class org.forgerock.json.jose.jwk.JWK.Builder
algorithm, keyId, keyOperations, keyType, use, x509Chain, x509Thumbnail, x509url - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the EC JWK.Set the unsigned big-endian base64 url encoding of the d value for the elliptical curve private key.privateKey(ECPrivateKey privateKey) Set the unsigned big-endian base64 url encoding of the d value for the elliptical curve private key.Methods inherited from class org.forgerock.json.jose.jwk.JWK.Builder
algorithm, algorithm, keyId, keyOperations, keyUse, withX509Thumbprint, withX509ThumbprintS256, x509Chain, x509Thumbnail, x509Thumbprint, x509ThumbprintS256, x509Url 
- 
Method Details
- 
privateKey
Set the unsigned big-endian base64 url encoding of the d value for the elliptical curve private key.- Parameters:
 privateKey- The private key for the JWK- Returns:
 - the current builder
 
 - 
d
Set the unsigned big-endian base64 url encoding of the d value for the elliptical curve private key.- Parameters:
 d- The unsigned big-endian base64 url encoding of the d value for the elliptical curve private key- Returns:
 - the current builder
 
 - 
build
Build the EC JWK.- Specified by:
 buildin classJWK.Builder<EcJWK.Builder>- Returns:
 - a EC JWK
 
 
 -