| Modifier and Type | Field and Description |
|---|---|
private static com.nimbusds.jose.JWSAlgorithm |
JWS_ALGORITHM |
private static String |
KEY_ALGORITHM |
private static int |
KEY_SIZE |
private KeyPairGenerator |
keyPairGenerator |
private static org.slf4j.Logger |
LOGGER |
private SignerListener |
signerListener |
private VerificationKeyListener |
verificationKeyListener |
| Constructor and Description |
|---|
KeyGenerationCommand(SignerListener signerListener,
VerificationKeyListener verificationKeyListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Run generates a new Key Pair and notifies configured listeners
|
private static final org.slf4j.Logger LOGGER
private static final String KEY_ALGORITHM
private static final int KEY_SIZE
private static final com.nimbusds.jose.JWSAlgorithm JWS_ALGORITHM
private final KeyPairGenerator keyPairGenerator
private final SignerListener signerListener
private final VerificationKeyListener verificationKeyListener
public KeyGenerationCommand(SignerListener signerListener, VerificationKeyListener verificationKeyListener)
Copyright © 2023 Apache NiFi Project. All rights reserved.