Package net.corda.data.crypto.wire
Class CryptoDerivedSharedSecret.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CryptoDerivedSharedSecret.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CryptoDerivedSharedSecret instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
secret
-
Method Summary
Modifier and Type Method Description ByteBuffer
getSecret()
Gets the value of the 'secret' field. CryptoDerivedSharedSecret.Builder
setSecret(ByteBuffer value)
Sets the value of the 'secret' field. boolean
hasSecret()
Checks whether the 'secret' field has been set. CryptoDerivedSharedSecret.Builder
clearSecret()
Clears the value of the 'secret' field. CryptoDerivedSharedSecret
build()
-
-
Method Detail
-
getSecret
ByteBuffer getSecret()
Gets the value of the 'secret' field. Derived Diffie–Hellman key agreement shared secret
- Returns:
The value.
-
setSecret
CryptoDerivedSharedSecret.Builder setSecret(ByteBuffer value)
Sets the value of the 'secret' field. Derived Diffie–Hellman key agreement shared secret
- Parameters:
value
- The value of 'secret'.- Returns:
This builder.
-
hasSecret
boolean hasSecret()
Checks whether the 'secret' field has been set. Derived Diffie–Hellman key agreement shared secret
- Returns:
True if the 'secret' field has been set, false otherwise.
-
clearSecret
CryptoDerivedSharedSecret.Builder clearSecret()
Clears the value of the 'secret' field. Derived Diffie–Hellman key agreement shared secret
- Returns:
This builder.
-
build
CryptoDerivedSharedSecret build()
-
-
-
-