Class SignedGroupParameters.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class SignedGroupParameters.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for SignedGroupParameters instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
groupParameters
public CryptoSignatureWithKey
mgmSignature
public CryptoSignatureWithKey.Builder
mgmSignatureBuilder
public CryptoSignatureSpec
mgmSignatureSpec
public CryptoSignatureSpec.Builder
mgmSignatureSpecBuilder
-
Method Summary
Modifier and Type Method Description ByteBuffer
getGroupParameters()
Gets the value of the 'groupParameters' field. SignedGroupParameters.Builder
setGroupParameters(ByteBuffer value)
Sets the value of the 'groupParameters' field. CryptoSignatureWithKey
getMgmSignature()
Gets the value of the 'mgmSignature' field. SignedGroupParameters.Builder
setMgmSignature(CryptoSignatureWithKey value)
Sets the value of the 'mgmSignature' field. CryptoSignatureWithKey.Builder
getMgmSignatureBuilder()
Gets the Builder instance for the 'mgmSignature' field and creates one if it doesn't exist yet. SignedGroupParameters.Builder
setMgmSignatureBuilder(CryptoSignatureWithKey.Builder value)
Sets the Builder instance for the 'mgmSignature' field MGM signature over the serialised group parameters. CryptoSignatureSpec
getMgmSignatureSpec()
Gets the value of the 'mgmSignatureSpec' field. SignedGroupParameters.Builder
setMgmSignatureSpec(CryptoSignatureSpec value)
Sets the value of the 'mgmSignatureSpec' field. CryptoSignatureSpec.Builder
getMgmSignatureSpecBuilder()
Gets the Builder instance for the 'mgmSignatureSpec' field and creates one if it doesn't exist yet. SignedGroupParameters.Builder
setMgmSignatureSpecBuilder(CryptoSignatureSpec.Builder value)
Sets the Builder instance for the 'mgmSignatureSpec' field Signature spec for the MGM signature. boolean
hasGroupParameters()
Checks whether the 'groupParameters' field has been set. SignedGroupParameters.Builder
clearGroupParameters()
Clears the value of the 'groupParameters' field. boolean
hasMgmSignature()
Checks whether the 'mgmSignature' field has been set. boolean
hasMgmSignatureBuilder()
Checks whether the 'mgmSignature' field has an active Builder instance MGM signature over the serialised group parameters. SignedGroupParameters.Builder
clearMgmSignature()
Clears the value of the 'mgmSignature' field. boolean
hasMgmSignatureSpec()
Checks whether the 'mgmSignatureSpec' field has been set. boolean
hasMgmSignatureSpecBuilder()
Checks whether the 'mgmSignatureSpec' field has an active Builder instance Signature spec for the MGM signature. SignedGroupParameters.Builder
clearMgmSignatureSpec()
Clears the value of the 'mgmSignatureSpec' field. SignedGroupParameters
build()
-
-
Method Detail
-
getGroupParameters
ByteBuffer getGroupParameters()
Gets the value of the 'groupParameters' field. GroupParameters entries serialised from [net.corda.data.KeyValuePairList] to a byte array.
-
setGroupParameters
SignedGroupParameters.Builder setGroupParameters(ByteBuffer value)
Sets the value of the 'groupParameters' field. GroupParameters entries serialised from [net.corda.data.KeyValuePairList] to a byte array.
- Parameters:
value
- The value of 'groupParameters'.
-
getMgmSignature
CryptoSignatureWithKey getMgmSignature()
Gets the value of the 'mgmSignature' field. MGM signature over the serialised group parameters. The signature could be null only if it's the MGM's view of the group parameters.
-
setMgmSignature
SignedGroupParameters.Builder setMgmSignature(CryptoSignatureWithKey value)
Sets the value of the 'mgmSignature' field. MGM signature over the serialised group parameters. The signature could be null only if it's the MGM's view of the group parameters.
- Parameters:
value
- The value of 'mgmSignature'.
-
getMgmSignatureBuilder
CryptoSignatureWithKey.Builder getMgmSignatureBuilder()
Gets the Builder instance for the 'mgmSignature' field and creates one if it doesn't exist yet. MGM signature over the serialised group parameters. The signature could be null only if it's the MGM's view of the group parameters.
-
setMgmSignatureBuilder
SignedGroupParameters.Builder setMgmSignatureBuilder(CryptoSignatureWithKey.Builder value)
Sets the Builder instance for the 'mgmSignature' field MGM signature over the serialised group parameters. The signature could be null only if it's the MGM's view of the group parameters.
- Parameters:
value
- The builder instance that must be set.
-
getMgmSignatureSpec
CryptoSignatureSpec getMgmSignatureSpec()
Gets the value of the 'mgmSignatureSpec' field. Signature spec for the MGM signature.
-
setMgmSignatureSpec
SignedGroupParameters.Builder setMgmSignatureSpec(CryptoSignatureSpec value)
Sets the value of the 'mgmSignatureSpec' field. Signature spec for the MGM signature.
- Parameters:
value
- The value of 'mgmSignatureSpec'.
-
getMgmSignatureSpecBuilder
CryptoSignatureSpec.Builder getMgmSignatureSpecBuilder()
Gets the Builder instance for the 'mgmSignatureSpec' field and creates one if it doesn't exist yet. Signature spec for the MGM signature.
-
setMgmSignatureSpecBuilder
SignedGroupParameters.Builder setMgmSignatureSpecBuilder(CryptoSignatureSpec.Builder value)
Sets the Builder instance for the 'mgmSignatureSpec' field Signature spec for the MGM signature.
- Parameters:
value
- The builder instance that must be set.
-
hasGroupParameters
boolean hasGroupParameters()
Checks whether the 'groupParameters' field has been set. GroupParameters entries serialised from [net.corda.data.KeyValuePairList] to a byte array.
-
clearGroupParameters
SignedGroupParameters.Builder clearGroupParameters()
Clears the value of the 'groupParameters' field. GroupParameters entries serialised from [net.corda.data.KeyValuePairList] to a byte array.
-
hasMgmSignature
boolean hasMgmSignature()
Checks whether the 'mgmSignature' field has been set. MGM signature over the serialised group parameters. The signature could be null only if it's the MGM's view of the group parameters.
-
hasMgmSignatureBuilder
boolean hasMgmSignatureBuilder()
Checks whether the 'mgmSignature' field has an active Builder instance MGM signature over the serialised group parameters. The signature could be null only if it's the MGM's view of the group parameters.
-
clearMgmSignature
SignedGroupParameters.Builder clearMgmSignature()
Clears the value of the 'mgmSignature' field. MGM signature over the serialised group parameters. The signature could be null only if it's the MGM's view of the group parameters.
-
hasMgmSignatureSpec
boolean hasMgmSignatureSpec()
Checks whether the 'mgmSignatureSpec' field has been set. Signature spec for the MGM signature.
-
hasMgmSignatureSpecBuilder
boolean hasMgmSignatureSpecBuilder()
Checks whether the 'mgmSignatureSpec' field has an active Builder instance Signature spec for the MGM signature.
-
clearMgmSignatureSpec
SignedGroupParameters.Builder clearMgmSignatureSpec()
Clears the value of the 'mgmSignatureSpec' field. Signature spec for the MGM signature.
-
build
SignedGroupParameters build()
-
-
-
-