public interface PrivateKeyBuilder extends KeyBuilder<PrivateKey,PrivateKeyBuilder>
PrivateKey to be transparently associated with a SecurityBuilder.provider(Provider) or
publicKey(PublicKey) if necessary for algorithms that require them.| Modifier and Type | Method and Description |
|---|---|
PrivateKeyBuilder |
publicKey(PublicKey publicKey)
Sets the private key's corresponding
PublicKey so that its public key material will be available to
algorithms that require it. |
provider, randomPrivateKeyBuilder publicKey(PublicKey publicKey)
PublicKey so that its public key material will be available to
algorithms that require it.publicKey - the private key's corresponding PublicKeyCopyright © 2014–2023 jsonwebtoken.io. All rights reserved.