public interface IArgBlock
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
addBigIntegerValue(java.lang.String n,
java.math.BigInteger v,
int radix)
Adds integer-type arguments to this block.
|
java.lang.Object |
addBooleanValue(java.lang.String n,
boolean v)
Adds boolean-type arguments to this block.
|
java.lang.Object |
addIntegerValue(java.lang.String n,
int v)
Adds integer-type arguments to this block.
|
java.lang.Object |
addLongValue(java.lang.String n,
long v)
Adds long-type arguments to this block.
|
java.lang.Object |
addStringValue(java.lang.String n,
java.lang.String v)
Adds string-based value into this argument block.
|
void |
delete(java.lang.String name)
Deletes argument by the given key.
|
java.util.Enumeration<java.lang.String> |
elements()
Retrieves a list of argument keys.
|
java.lang.Object |
get(java.lang.String name)
Retrieves argument.
|
java.util.Enumeration<java.lang.String> |
getElements()
Retrieves a list of argument keys.
|
java.lang.Object |
getValue(java.lang.Object n)
Retrieves argument value as object
|
java.lang.Object |
getValue(java.lang.Object n,
java.lang.Object def)
Retrieves argument value as object
|
java.math.BigInteger |
getValueAsBigInteger(java.lang.String n)
Retrieves argument value as big integer.
|
java.math.BigInteger |
getValueAsBigInteger(java.lang.String n,
java.math.BigInteger def)
Retrieves argument value as big integer.
|
boolean |
getValueAsBoolean(java.lang.String name)
Gets boolean value.
|
boolean |
getValueAsBoolean(java.lang.String name,
boolean def)
Gets boolean value.
|
int |
getValueAsInt(java.lang.String n)
Retrieves argument value as integer.
|
int |
getValueAsInt(java.lang.String n,
int def)
Retrieves argument value as integer.
|
KeyGenInfo |
getValueAsKeyGenInfo(java.lang.String name,
KeyGenInfo def)
Gets KeyGenInfo
|
netscape.security.pkcs.PKCS10 |
getValueAsPKCS10(java.lang.String name,
boolean checkheader)
Retrieves PKCS10
|
netscape.security.pkcs.PKCS10 |
getValueAsPKCS10(java.lang.String name,
boolean checkheader,
netscape.security.pkcs.PKCS10 def)
Retrieves PKCS10
|
netscape.security.pkcs.PKCS10 |
getValueAsRawPKCS10(java.lang.String name)
Gets PKCS10 request.
|
netscape.security.pkcs.PKCS10 |
getValueAsRawPKCS10(java.lang.String name,
netscape.security.pkcs.PKCS10 def)
Gets PKCS10 request.
|
java.lang.String |
getValueAsString(java.lang.String n)
Retrieves argument value as string.
|
java.lang.String |
getValueAsString(java.lang.String n,
java.lang.String def)
Retrieves argument value as string.
|
netscape.security.pkcs.PKCS10 |
getValuePKCS10(java.lang.String name,
netscape.security.pkcs.PKCS10 def)
Retrieves PKCS10
|
boolean |
isValuePresent(java.lang.String n)
Checks if this argument block contains the given key.
|
void |
set(java.lang.String name,
java.lang.Object obj)
Sets argument into this block.
|
boolean isValuePresent(java.lang.String n)
n - keyjava.lang.Object addStringValue(java.lang.String n,
java.lang.String v)
n - keyv - valuejava.lang.String getValueAsString(java.lang.String n)
throws EBaseException
n - keyEBaseException - failed to retrieve valuejava.lang.String getValueAsString(java.lang.String n,
java.lang.String def)
n - keydef - default value to be returned if key is not presentint getValueAsInt(java.lang.String n)
throws EBaseException
n - keyEBaseException - failed to retrieve valueint getValueAsInt(java.lang.String n,
int def)
n - keydef - default value to be returned if key is not presentjava.math.BigInteger getValueAsBigInteger(java.lang.String n)
throws EBaseException
n - keyEBaseException - failed to retrieve valuejava.math.BigInteger getValueAsBigInteger(java.lang.String n,
java.math.BigInteger def)
n - keydef - default value to be returned if key is not presentjava.lang.Object getValue(java.lang.Object n)
throws EBaseException
n - keyEBaseException - failed to retrieve valuejava.lang.Object getValue(java.lang.Object n,
java.lang.Object def)
n - keydef - default value to be returned if key is not presentboolean getValueAsBoolean(java.lang.String name)
throws EBaseException
name - name of the input typetrue or falseEBaseException - failed to retrieve valueboolean getValueAsBoolean(java.lang.String name,
boolean def)
name - name of the input typedef - Default value to return.true or falseKeyGenInfo getValueAsKeyGenInfo(java.lang.String name, KeyGenInfo def) throws EBaseException
name - name of the input typedef - default value to returnEBaseException - On error.netscape.security.pkcs.PKCS10 getValueAsRawPKCS10(java.lang.String name)
throws EBaseException
name - name of the input typeEBaseException - failed to retrieve valuenetscape.security.pkcs.PKCS10 getValueAsRawPKCS10(java.lang.String name,
netscape.security.pkcs.PKCS10 def)
throws EBaseException
name - name of the input typedef - default PKCS10EBaseException - failed to retrieve valuenetscape.security.pkcs.PKCS10 getValueAsPKCS10(java.lang.String name,
boolean checkheader)
throws EBaseException
name - name of the input typecheckheader - true if header must be presentEBaseException - failed to retrieve valuenetscape.security.pkcs.PKCS10 getValueAsPKCS10(java.lang.String name,
boolean checkheader,
netscape.security.pkcs.PKCS10 def)
throws EBaseException
name - name of the input typecheckheader - true if header must be presentdef - default PKCS10EBaseException - on errornetscape.security.pkcs.PKCS10 getValuePKCS10(java.lang.String name,
netscape.security.pkcs.PKCS10 def)
throws EBaseException
name - name of the input typedef - default PKCS10EBaseException - on errorjava.util.Enumeration<java.lang.String> elements()
java.lang.Object addLongValue(java.lang.String n,
long v)
n - keyv - valuejava.lang.Object addIntegerValue(java.lang.String n,
int v)
n - keyv - valuejava.lang.Object addBooleanValue(java.lang.String n,
boolean v)
n - keyv - valuejava.lang.Object addBigIntegerValue(java.lang.String n,
java.math.BigInteger v,
int radix)
n - keyv - valueradix - radixvoid set(java.lang.String name,
java.lang.Object obj)
name - keyobj - valuejava.lang.Object get(java.lang.String name)
name - keyvoid delete(java.lang.String name)
name - keyjava.util.Enumeration<java.lang.String> getElements()