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, random
PrivateKeyBuilder publicKey(PublicKey publicKey)
PublicKey
so that its public key material will be available to
algorithms that require it.publicKey
- the private key's corresponding PublicKey
Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.