SshAgentKeyConstraint describes usage constraints for keys when being added to an SSH2 agent.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | SshAgentKeyConstraint.
An OpenSSH |
| public static class | SshAgentKeyConstraint.
The OpenSSH "[email protected]" key constraint extension used for FIDO keys. |
| public static class | SshAgentKeyConstraint.
An OpenSSH lifetime constraint expires a key added to an SSH agent after the given number of seconds. |
| Modifier and Type | Field and Description |
|---|---|
| public static final SshAgentKeyConstraint | CONFIRM
The singleton OpenSSH confirmation |
| private final byte |
| Access | Constructor and Description |
|---|---|
| protected | SshAgentKeyConstraint(byte
for the key constraint id)Constructor setting the agent protocol ID of the constraint. |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public void |
| CONFIRM | back to summary |
|---|---|
| public static final SshAgentKeyConstraint CONFIRM The singleton OpenSSH confirmation
Users who have this option set via ssh config
The OpenSSH agent prompts via via | |
| id | back to summary |
|---|---|
| private final byte id | |
| SshAgentKeyConstraint | back to summary |
|---|---|
| protected SshAgentKeyConstraint(byte id) Constructor setting the agent protocol ID of the constraint.
| |
| getId | back to summary |
|---|---|
| public byte getId() Retrieves the protocol ID of this constraint.
| |
| put | back to summary |
|---|---|
| public void put(Buffer buffer) Writes this constraint into the given | |
SshAgentKeyConstraint extension. Extensions are identified by name.
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | put(Buffer
Buffer to write into at the current buffer write positionOverrides org. Writes this constraint into the given |
| name | back to summary |
|---|---|
| private final String name | |
| Extension | back to summary |
|---|---|
| protected Extension(String name) Creates a new
| |
| put | back to summary |
|---|---|
| public void put(Buffer buffer) Overrides org. Doc from org. Writes this constraint into the given | |
SecurityKeyProvider.
| Access | Constructor and Description |
|---|---|
| public | FidoProviderExtension(String
path to a middleware library; must not be provider)null or emptyCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | put(Buffer
Buffer to write into at the current buffer write positionOverrides org. Writes this constraint into the given |
| provider | back to summary |
|---|---|
| private final String provider | |
| FidoProviderExtension | back to summary |
|---|---|
| public FidoProviderExtension(String provider) Creates a new
| |
| put | back to summary |
|---|---|
| public void put(Buffer buffer) Overrides org. Doc from org. Writes this constraint into the given | |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | put(Buffer
Buffer to write into at the current buffer write positionOverrides org. Writes this constraint into the given |
| secondsToLive | back to summary |
|---|---|
| private final int secondsToLive | |
| LifeTime | back to summary |
|---|---|
| public LifeTime(int secondsToLive) Creates a new
| |
| put | back to summary |
|---|---|
| public void put(Buffer buffer) Overrides org. Doc from org. Writes this constraint into the given | |