K
- the type of PublicKey
provided by the created public JWK.L
- the type of PrivateKey
that may be paired with the PublicKey
to produce a PrivateJwk
if desired.J
- the type of PublicJwk
createdM
- the type of PrivateJwk
that matches the created PublicJwk
P
- the type of PrivateJwkBuilder
that matches this builder if a PrivateJwk
is desired.T
- the type of the builder, for subtype method chainingpublic interface PublicJwkBuilder<K extends PublicKey,L extends PrivateKey,J extends PublicJwk<K>,M extends PrivateJwk<L,K,J>,P extends PrivateJwkBuilder<L,K,J,M,P>,T extends PublicJwkBuilder<K,L,J,M,P,T>> extends AsymmetricJwkBuilder<K,J,T>
AsymmetricJwkBuilder
that creates PublicJwk
instances.privateKey(PrivateKey)
Modifier and Type | Method and Description |
---|---|
P |
privateKey(L privateKey)
Sets the
PrivateKey that pairs with the builder's existing PublicKey , converting this builder
into a PrivateJwkBuilder which will produce a corresponding PrivateJwk instance. |
publicKeyUse
algorithm, id, idFromThumbprint, idFromThumbprint, operations
add, add, delete, empty
provider, random
operationPolicy
x509Sha1Thumbprint, x509Sha256Thumbprint
x509Chain, x509Sha1Thumbprint, x509Sha256Thumbprint, x509Url
P privateKey(L privateKey)
PrivateKey
that pairs with the builder's existing PublicKey
, converting this builder
into a PrivateJwkBuilder
which will produce a corresponding PrivateJwk
instance. The
specified privateKey
MUST be the exact private key paired with the builder's public key.privateKey
- the PrivateKey
that pairs with the builder's existing PublicKey
PrivateJwkBuilder
which will produce a corresponding PrivateJwk
.Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.