Class UnauthenticatedRegistrationRequestHeader.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class UnauthenticatedRegistrationRequestHeader.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for UnauthenticatedRegistrationRequestHeader instances.
-
-
Field Summary
Fields Modifier and Type Field Description public HoldingIdentity
mgm
public HoldingIdentity.Builder
mgmBuilder
public ByteBuffer
salt
public ByteBuffer
aad
public String
key
-
Method Summary
Modifier and Type Method Description HoldingIdentity
getMgm()
Gets the value of the 'mgm' field. UnauthenticatedRegistrationRequestHeader.Builder
setMgm(HoldingIdentity value)
Sets the value of the 'mgm' field. HoldingIdentity.Builder
getMgmBuilder()
Gets the Builder instance for the 'mgm' field and creates one if it doesn't exist yet. UnauthenticatedRegistrationRequestHeader.Builder
setMgmBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'mgm' field Holding identity of the target MGM. ByteBuffer
getSalt()
Gets the value of the 'salt' field. UnauthenticatedRegistrationRequestHeader.Builder
setSalt(ByteBuffer value)
Sets the value of the 'salt' field. ByteBuffer
getAad()
Gets the value of the 'aad' field. UnauthenticatedRegistrationRequestHeader.Builder
setAad(ByteBuffer value)
Sets the value of the 'aad' field. String
getKey()
Gets the value of the 'key' field. UnauthenticatedRegistrationRequestHeader.Builder
setKey(String value)
Sets the value of the 'key' field. boolean
hasMgm()
Checks whether the 'mgm' field has been set. boolean
hasMgmBuilder()
Checks whether the 'mgm' field has an active Builder instance Holding identity of the target MGM. UnauthenticatedRegistrationRequestHeader.Builder
clearMgm()
Clears the value of the 'mgm' field. boolean
hasSalt()
Checks whether the 'salt' field has been set. UnauthenticatedRegistrationRequestHeader.Builder
clearSalt()
Clears the value of the 'salt' field. boolean
hasAad()
Checks whether the 'aad' field has been set. UnauthenticatedRegistrationRequestHeader.Builder
clearAad()
Clears the value of the 'aad' field. boolean
hasKey()
Checks whether the 'key' field has been set. UnauthenticatedRegistrationRequestHeader.Builder
clearKey()
Clears the value of the 'key' field. UnauthenticatedRegistrationRequestHeader
build()
-
-
Method Detail
-
getMgm
HoldingIdentity getMgm()
Gets the value of the 'mgm' field. Holding identity of the target MGM.
-
setMgm
UnauthenticatedRegistrationRequestHeader.Builder setMgm(HoldingIdentity value)
Sets the value of the 'mgm' field. Holding identity of the target MGM.
- Parameters:
value
- The value of 'mgm'.
-
getMgmBuilder
HoldingIdentity.Builder getMgmBuilder()
Gets the Builder instance for the 'mgm' field and creates one if it doesn't exist yet. Holding identity of the target MGM.
-
setMgmBuilder
UnauthenticatedRegistrationRequestHeader.Builder setMgmBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'mgm' field Holding identity of the target MGM.
- Parameters:
value
- The builder instance that must be set.
-
getSalt
ByteBuffer getSalt()
Gets the value of the 'salt' field. Salt value as bytes that needs to be used for encryption/decryption.
-
setSalt
UnauthenticatedRegistrationRequestHeader.Builder setSalt(ByteBuffer value)
Sets the value of the 'salt' field. Salt value as bytes that needs to be used for encryption/decryption.
- Parameters:
value
- The value of 'salt'.
-
getAad
ByteBuffer getAad()
Gets the value of the 'aad' field. Additional information as bytes that needs to be used for encryption/decryption.
-
setAad
UnauthenticatedRegistrationRequestHeader.Builder setAad(ByteBuffer value)
Sets the value of the 'aad' field. Additional information as bytes that needs to be used for encryption/decryption.
- Parameters:
value
- The value of 'aad'.
-
getKey
String getKey()
Gets the value of the 'key' field. Member's public ephemeral key encoded in PEM format.
-
setKey
UnauthenticatedRegistrationRequestHeader.Builder setKey(String value)
Sets the value of the 'key' field. Member's public ephemeral key encoded in PEM format.
- Parameters:
value
- The value of 'key'.
-
hasMgm
boolean hasMgm()
Checks whether the 'mgm' field has been set. Holding identity of the target MGM.
-
hasMgmBuilder
boolean hasMgmBuilder()
Checks whether the 'mgm' field has an active Builder instance Holding identity of the target MGM.
-
clearMgm
UnauthenticatedRegistrationRequestHeader.Builder clearMgm()
Clears the value of the 'mgm' field. Holding identity of the target MGM.
-
hasSalt
boolean hasSalt()
Checks whether the 'salt' field has been set. Salt value as bytes that needs to be used for encryption/decryption.
-
clearSalt
UnauthenticatedRegistrationRequestHeader.Builder clearSalt()
Clears the value of the 'salt' field. Salt value as bytes that needs to be used for encryption/decryption.
-
hasAad
boolean hasAad()
Checks whether the 'aad' field has been set. Additional information as bytes that needs to be used for encryption/decryption.
-
clearAad
UnauthenticatedRegistrationRequestHeader.Builder clearAad()
Clears the value of the 'aad' field. Additional information as bytes that needs to be used for encryption/decryption.
-
hasKey
boolean hasKey()
Checks whether the 'key' field has been set. Member's public ephemeral key encoded in PEM format.
-
clearKey
UnauthenticatedRegistrationRequestHeader.Builder clearKey()
Clears the value of the 'key' field. Member's public ephemeral key encoded in PEM format.
-
-
-
-