| Modifier and Type | Field and Description |
|---|---|
| private volatile KeyPair | |
| private final Path | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public KeyPair | getKeyPair()
Implements com. Returns the current RSA key pair. |
| public void | refreshKeys()
Implements com. If the auth service-issued security token expires, the federation client will try to re-generate a new set of keys by calling this method. |
| keyPair | back to summary |
|---|---|
| private volatile KeyPair keyPair | |
| passphrasePath | back to summary |
|---|---|
| private final Path passphrasePath | |
| privateKeyPath | back to summary |
|---|---|
| private final String privateKeyPath | |
| FileBasedKeySupplier | back to summary |
|---|---|
| public FileBasedKeySupplier(String privateKeyPath, String passphrasePath) | |
| getKeyPair | back to summary |
|---|---|
| public KeyPair getKeyPair() Implements com. Doc from com. Returns the current RSA key pair. | |
| refreshKeys | back to summary |
|---|---|
| public void refreshKeys() Implements com. Doc from com. If the auth service-issued security token expires, the federation client will try to re-generate a new set of keys by calling this method. The implementer should create a new pair of keys for security reasons. Refreshing keys should not be a long-running blocking call. You can refresh keys in an async thread and return from this method immediately. When the async process is done refreshing the keys, the client code will automatically pick up the latest set of keys and update the security token accordingly
| |