public class SshPublicKeyArrayInput extends ParseAbstractInput<java.lang.String> implements ItemInput<java.lang.String,java.security.PublicKey[]>
validators
Constructor and Description |
---|
SshPublicKeyArrayInput() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(java.security.PublicKey[] keys) |
java.security.PublicKey[] |
getItembyValue(java.lang.String value)
get the domain object from the Input value if defined
|
boolean |
isEmpty()
Is the input empty.
|
static java.security.PublicKey[] |
load(java.lang.String value) |
java.lang.String |
parseValue(java.lang.String v)
Parse a String into the correct type for this input.
|
void |
setItem(java.security.PublicKey[] item)
Set the value of the input using an item
|
void |
setMinBits(int bits) |
protected void |
validateKey(java.security.PublicKey key) |
protected void |
validateKeys(java.security.PublicKey[] keys) |
accept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSingle
getValue, setKey, setValue
addValidator, convert, getKey, getPrettyString, getString, getString, removeValidator, validate, validateInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, addValidator, convert, getKey, getPrettyString, getString, getValue, removeValidator, setKey, setValue, validate
getString, parse
public void setMinBits(int bits)
public java.security.PublicKey[] getItembyValue(java.lang.String value)
ItemInput
getItembyValue
in interface ItemInput<java.lang.String,java.security.PublicKey[]>
value
- input Valuepublic void setItem(java.security.PublicKey[] item)
ItemInput
protected void validateKeys(java.security.PublicKey[] keys) throws ValidateException
ValidateException
protected void validateKey(java.security.PublicKey key) throws ValidateException
ValidateException
public java.lang.String parseValue(java.lang.String v) throws ParseException
ParseInput
Input.getString(Object)
method.parseValue
in interface ParseInput<java.lang.String>
ParseException
public boolean isEmpty()
Input
public static java.security.PublicKey[] load(java.lang.String value) throws PublicKeyReaderUtil.PublicKeyParseException
public static java.lang.String format(java.security.PublicKey[] keys) throws PublicKeyReaderUtil.PublicKeyParseException, java.io.IOException
PublicKeyReaderUtil.PublicKeyParseException
java.io.IOException