Class DeriveSharedSecretCommand.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class DeriveSharedSecretCommand.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for DeriveSharedSecretCommand instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
publicKey
public ByteBuffer
otherPublicKey
public KeyValuePairList
context
public KeyValuePairList.Builder
contextBuilder
-
Method Summary
Modifier and Type Method Description ByteBuffer
getPublicKey()
Gets the value of the 'publicKey' field. DeriveSharedSecretCommand.Builder
setPublicKey(ByteBuffer value)
Sets the value of the 'publicKey' field. ByteBuffer
getOtherPublicKey()
Gets the value of the 'otherPublicKey' field. DeriveSharedSecretCommand.Builder
setOtherPublicKey(ByteBuffer value)
Sets the value of the 'otherPublicKey' field. KeyValuePairList
getContext()
Gets the value of the 'context' field. DeriveSharedSecretCommand.Builder
setContext(KeyValuePairList value)
Sets the value of the 'context' field. KeyValuePairList.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. DeriveSharedSecretCommand.Builder
setContextBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'context' field The optional key/value operation specific context boolean
hasPublicKey()
Checks whether the 'publicKey' field has been set. DeriveSharedSecretCommand.Builder
clearPublicKey()
Clears the value of the 'publicKey' field. boolean
hasOtherPublicKey()
Checks whether the 'otherPublicKey' field has been set. DeriveSharedSecretCommand.Builder
clearOtherPublicKey()
Clears the value of the 'otherPublicKey' field. boolean
hasContext()
Checks whether the 'context' field has been set. boolean
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance The optional key/value operation specific context DeriveSharedSecretCommand.Builder
clearContext()
Clears the value of the 'context' field. DeriveSharedSecretCommand
build()
-
-
Method Detail
-
getPublicKey
ByteBuffer getPublicKey()
Gets the value of the 'publicKey' field. It's used to look up the matching private key information and use the private key for the derivation.
-
setPublicKey
DeriveSharedSecretCommand.Builder setPublicKey(ByteBuffer value)
Sets the value of the 'publicKey' field. It's used to look up the matching private key information and use the private key for the derivation.
- Parameters:
value
- The value of 'publicKey'.
-
getOtherPublicKey
ByteBuffer getOtherPublicKey()
Gets the value of the 'otherPublicKey' field. The public of the 'other' party which should be used to derive the secret
-
setOtherPublicKey
DeriveSharedSecretCommand.Builder setOtherPublicKey(ByteBuffer value)
Sets the value of the 'otherPublicKey' field. The public of the 'other' party which should be used to derive the secret
- Parameters:
value
- The value of 'otherPublicKey'.
-
getContext
KeyValuePairList getContext()
Gets the value of the 'context' field. The optional key/value operation specific context
-
setContext
DeriveSharedSecretCommand.Builder setContext(KeyValuePairList value)
Sets the value of the 'context' field. The optional key/value operation specific context
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
KeyValuePairList.Builder getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. The optional key/value operation specific context
-
setContextBuilder
DeriveSharedSecretCommand.Builder setContextBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'context' field The optional key/value operation specific context
- Parameters:
value
- The builder instance that must be set.
-
hasPublicKey
boolean hasPublicKey()
Checks whether the 'publicKey' field has been set. It's used to look up the matching private key information and use the private key for the derivation.
-
clearPublicKey
DeriveSharedSecretCommand.Builder clearPublicKey()
Clears the value of the 'publicKey' field. It's used to look up the matching private key information and use the private key for the derivation.
-
hasOtherPublicKey
boolean hasOtherPublicKey()
Checks whether the 'otherPublicKey' field has been set. The public of the 'other' party which should be used to derive the secret
-
clearOtherPublicKey
DeriveSharedSecretCommand.Builder clearOtherPublicKey()
Clears the value of the 'otherPublicKey' field. The public of the 'other' party which should be used to derive the secret
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. The optional key/value operation specific context
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance The optional key/value operation specific context
-
clearContext
DeriveSharedSecretCommand.Builder clearContext()
Clears the value of the 'context' field. The optional key/value operation specific context
-
build
DeriveSharedSecretCommand build()
-
-
-
-