public class MAPAuthenticationSet extends AbstractFieldsObject
AuthenticationSet ::= SEQUENCE { rand RAND, sres SRES, kc Kc, ... }Present in ph1.
Used in array as field type by MAPSendAuthenticationInfoRes
.
Used in array as field type by MAPAuthenticationSetList_v3
.
Used in array as field type by MAPSendIdentificationRes
.
Used as field type by MAPSentParameter
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPAuthenticationSet()
Constructs an object with uninitialised state.
|
MAPAuthenticationSet(byte[] Rand_param,
byte[] Sres_param,
byte[] Kc_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
MAPAuthenticationSet |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPAuthenticationSet |
copyOf(MAPAuthenticationSet from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value.
|
byte[] |
getKc()
Gets the value of the field kc.
|
byte[] |
getRand()
Gets the value of the field rand.
|
byte[] |
getSres()
Gets the value of the field sres.
|
boolean |
hasKc()
Tests whether the field kc has a value.
|
boolean |
hasRand()
Tests whether the field rand has a value.
|
boolean |
hasSres()
Tests whether the field sres has a value.
|
MAPAuthenticationSet |
setKc(byte[] value)
Sets the value of the field kc.
|
MAPAuthenticationSet |
setRand(byte[] value)
Sets the value of the field rand.
|
MAPAuthenticationSet |
setSres(byte[] value)
Sets the value of the field sres.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPAuthenticationSet()
public MAPAuthenticationSet(byte[] Rand_param, byte[] Sres_param, byte[] Kc_param)
Rand_param
- value for that fieldSres_param
- value for that fieldKc_param
- value for that fieldpublic MAPAuthenticationSet clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPAuthenticationSet copyOf(MAPAuthenticationSet from)
from
- the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic byte[] getKc()
public byte[] getRand()
public byte[] getSres()
public boolean hasKc()
public boolean hasRand()
public boolean hasSres()
public MAPAuthenticationSet setKc(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAuthenticationSet setRand(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAuthenticationSet setSres(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only