public class DefaultKeyPairBuilder extends Object implements KeyPairBuilder
| Modifier and Type | Field and Description |
|---|---|
protected Provider |
provider |
protected SecureRandom |
random |
| Constructor and Description |
|---|
DefaultKeyPairBuilder(String jcaName) |
DefaultKeyPairBuilder(String jcaName,
AlgorithmParameterSpec params) |
DefaultKeyPairBuilder(String jcaName,
int bitLength) |
| Modifier and Type | Method and Description |
|---|---|
KeyPair |
build() |
B |
provider(Provider provider) |
B |
random(SecureRandom random) |
protected B |
self() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprovider, randomprotected Provider provider
protected SecureRandom random
public DefaultKeyPairBuilder(String jcaName)
public DefaultKeyPairBuilder(String jcaName, int bitLength)
public DefaultKeyPairBuilder(String jcaName, AlgorithmParameterSpec params)
protected final B self()
public B provider(Provider provider)
provider in interface SecurityBuilder<T,B extends SecurityBuilder<T,B>>public B random(SecureRandom random)
random in interface SecurityBuilder<T,B extends SecurityBuilder<T,B>>Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.