public class CombinedUpdateRegReq extends java.lang.Object implements ASN1Type
CombinedUpdateRegReq class implements the ASN1 type
CombinedUpdateregReq for Roaming support.
This request is sent when a client either wishes to update a Roaming file, or to register as a Roaming user.
CombinedUpdateRegReq ::= SEQUENCE
{
userid RoamingUserID OPTIONAL,
sharedSecret OCTET STRING OPTIONAL,
fileEncKeyType AlgorithmIdentifier,
files SEQUENCE OF EntrustFileDesc
}
userid is the user's Roaming ID, uniquely
identifying the user. If userid is present, the
Roaming Server assumes the user is either registering
for Roaming, or recovering his or her profile. If userid
is absent, the Roaming Server assumes the user wishes to update one
or more of his or her roaming files.
sharedSecret is the secret to be used during the PAKE
negotiation at login time. If userid is supplied,
then sharedSecret must also be supplied. sharedSecret
can be supplied without the userid when the user wishes to change
his or her password.
fileEncKeyType is the type of key to be used when encrypting the user's
Roaming files. fileEncKeyType is used only during registration,
when userid is supplied.
files is a list of files whose contents are to be either updated or
added to the Directory.
| Constructor and Description |
|---|
CombinedUpdateRegReq()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object object)
Parses the given
ASN1Object into a
CombinedUpdateRegReq object. |
AlgorithmID |
getFileEncKeyType()
Returns the
fileEncKeyType component. |
EntrustFiles |
getFiles()
Returns the
files component. |
OCTET_STRING |
getSharedSecret()
Returns the
sharedSecret component. |
BMPString |
getUserId()
Returns the
userid component. |
void |
setFileEncKeyType(AlgorithmID keyType)
Sets the
fileEncKeyType component. |
void |
setFiles(EntrustFiles files)
Sets the
files component. |
void |
setSharedSecret(OCTET_STRING secret)
Sets the
sharedSecret component. |
void |
setUserId(BMPString userid)
Sets the
userid component. |
ASN1Object |
toASN1Object()
Returns the
ASN1Object of
CombinedUpdateRegReq type. |
public void decode(ASN1Object object) throws CodingException
ASN1Object into a
CombinedUpdateRegReq object.decode in interface ASN1Typeobject - the ASN1Object to be parsed.CodingException - if the ASN1Object could not be parsedpublic ASN1Object toASN1Object()
ASN1Object of
CombinedUpdateRegReq type.toASN1Object in interface ASN1TypeASN1Object of
CombinedUpdateRegReq
type.public void setUserId(BMPString userid)
userid component.userid - the user's roaming ID as a
BMPString object.public void setSharedSecret(OCTET_STRING secret)
sharedSecret component.secret - the shared secret as an
OCTET_STRING.public void setFileEncKeyType(AlgorithmID keyType)
fileEncKeyType component.keyType - the fileEncKeyType component
as an AlgorithmIdentifier object.public void setFiles(EntrustFiles files)
files component.files - the files component as an
EntrustFiles object.public BMPString getUserId()
userid component.BMPString object.public OCTET_STRING getSharedSecret()
sharedSecret component.OCTET_STRING.public AlgorithmID getFileEncKeyType()
fileEncKeyType component.fileEncKeyType component as
an AlgorithmID type.public EntrustFiles getFiles()
files component.files component as an
EntrustFiles type.