public final class VoiceEnrollment extends java.lang.Object implements IScimEnrollment
Constructor and Description |
---|
VoiceEnrollment() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm()
Returns the name of the algorithm to sign the data.
|
java.lang.String |
getIdentifier()
Returns the identifier of the enrollment.
|
java.lang.String |
getKeyHandle()
Returns the name that can be used to identify the key handle.
|
java.lang.String |
getLocale()
Returns the locale of the biometric language definition.
|
java.lang.String |
getMethod()
Returns the type of HTTP method required for enrollment.
|
java.lang.String |
getName()
Returns the name of the enrollment challenge.
|
java.lang.String |
getPublicKey()
Returns the public key used to be stored.
|
java.lang.String |
getQueryString()
Returns additional attributes for enrolling in SCIM interface.
|
java.lang.String |
getType()
Returns the type of the enrollment challenge.
|
boolean |
isEnabled()
Returns the flag to indicate whether the enrollment challenge is enabled.
|
org.json.JSONObject |
serializeToJson()
Returns the serialized
VoiceEnrollment object as a JSON string. |
void |
setEnabled(boolean enabled)
Set the flag to indicate whether the enrollment challenge is enabled.
|
void |
setKeyHandle(java.lang.String keyHandle)
Sets the key handle.
|
void |
setLocale(java.lang.String locale)
Set the locale of the biometric language definition
|
void |
setPublicKey(java.lang.String publicKey)
Sets the public key.
|
public java.lang.String getLocale()
public void setLocale(java.lang.String locale)
locale
- the locale to be setjava.lang.IllegalArgumentException
- if parameter is nullpublic java.lang.String getType()
getType
in interface IEnrollment
public java.lang.String getIdentifier()
getIdentifier
in interface IEnrollment
public java.lang.String getName()
getName
in interface IEnrollment
public java.lang.String getMethod()
getMethod
in interface IEnrollment
public java.lang.String getAlgorithm()
public void setEnabled(boolean enabled)
setEnabled
in interface IEnrollment
enabled
- the flag to indicate whether the enrollment challenge is enabledpublic java.lang.String getKeyHandle()
getKeyHandle
in interface IScimEnrollment
public void setKeyHandle(java.lang.String keyHandle)
setKeyHandle
in interface IScimEnrollment
keyHandle
- the key handle to be setjava.lang.IllegalArgumentException
- if parameter is nullpublic boolean isEnabled()
isEnabled
in interface IEnrollment
isEnabled
in interface IScimEnrollment
public java.lang.String getPublicKey()
public void setPublicKey(java.lang.String publicKey)
publicKey
- the public key to be setjava.lang.IllegalArgumentException
- if parameter is nullpublic java.lang.String getQueryString()
getQueryString
in interface IScimEnrollment
public org.json.JSONObject serializeToJson()
VoiceEnrollment
object as a JSON string.serializeToJson
in interface IEnrollment