public interface Credentials
Modifier and Type | Method and Description |
---|---|
byte[] |
getPassphrase()
The passphrase.
|
void |
invalidate()
Invalidates this instance
|
default boolean |
isEmpty()
isEmpty.
|
boolean |
isValid()
Checks if the credentails is currently in a valid state
|
void invalidate()
boolean isValid()
true
if the credentials are validdefault boolean isEmpty()
isEmpty.
true
if the passphrase is empty or null
byte[] getPassphrase() throws InvalidCredentialsException
InvalidCredentialsException
- when the credentials have been invalidated by the remote server.Copyright © 2016–2024. All rights reserved.