public static class SshAgentKeyConstraint.LifeTime extends SshAgentKeyConstraint
SshAgentKeyConstraint.Extension, SshAgentKeyConstraint.FidoProviderExtension, SshAgentKeyConstraint.LifeTime
CONFIRM
Constructor and Description |
---|
LifeTime(int secondsToLive)
Creates a new
SshAgentKeyConstraint.LifeTime constraint. |
Modifier and Type | Method and Description |
---|---|
void |
put(Buffer buffer)
Writes this constraint into the given
Buffer . |
getId
public LifeTime(int secondsToLive)
SshAgentKeyConstraint.LifeTime
constraint.secondsToLive
- number of seconds after which the agent shall automatically remove the key again; must
be strictly positivepublic void put(Buffer buffer)
SshAgentKeyConstraint
Buffer
.put
in class SshAgentKeyConstraint
buffer
- Buffer
to write into at the current buffer write positionCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.