public final class UserPresenceEnrollment extends java.lang.Object implements IScimEnrollment
Constructor and Description |
---|
UserPresenceEnrollment() |
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 |
getMethod()
Returns the type of HTTP method required for enrollment.
|
java.lang.String |
getName()
Returns the name of the enrollment.
|
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 a JSON string of the serialized
UserPresenceEnrollment object. |
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 |
setPublicKey(java.lang.String publicKey)
Sets the public key.
|
public java.lang.String getType()
getType
in interface IEnrollment
public java.lang.String getName()
getName
in interface IEnrollment
public java.lang.String getIdentifier()
getIdentifier
in interface IEnrollment
public java.lang.String getMethod()
GET
or
POST
.getMethod
in interface IEnrollment
public java.lang.String getAlgorithm()
public java.lang.String getPublicKey()
public void setEnabled(boolean enabled)
setEnabled
in interface IEnrollment
enabled
- the flag to indicate whether the enrollment challenge is enabledpublic void setPublicKey(java.lang.String publicKey)
publicKey
- The public key to be set.java.lang.IllegalArgumentException
- if parameter is nullpublic 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 java.lang.String getQueryString()
getQueryString
in interface IScimEnrollment
public boolean isEnabled()
isEnabled
in interface IEnrollment
isEnabled
in interface IScimEnrollment
public org.json.JSONObject serializeToJson()
UserPresenceEnrollment
object.serializeToJson
in interface IEnrollment