public final class SourceRconCredentials extends Object implements Credentials
Credentials
Constructor and Description |
---|
SourceRconCredentials(byte[] passphrase)
Constructor for SourceRconCredentials.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getPassphrase()
The passphrase.
|
int |
hashCode() |
void |
invalidate()
Invalidates this instance
|
boolean |
isValid()
Checks if the credentails is currently in a valid state
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isEmpty
public SourceRconCredentials(byte[] passphrase)
Constructor for SourceRconCredentials.
passphrase
- an array of byte
objectspublic void invalidate()
invalidate
in interface Credentials
public boolean isValid()
isValid
in interface Credentials
true
if the credentials are validpublic byte[] getPassphrase()
getPassphrase
in interface Credentials
Copyright © 2016–2024. All rights reserved.