Package net.corda.data.crypto.wire
Class CryptoPublicKey.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CryptoPublicKey.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CryptoPublicKey instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
key
-
Method Summary
Modifier and Type Method Description ByteBuffer
getKey()
Gets the value of the 'key' field. CryptoPublicKey.Builder
setKey(ByteBuffer value)
Sets the value of the 'key' field. boolean
hasKey()
Checks whether the 'key' field has been set. CryptoPublicKey.Builder
clearKey()
Clears the value of the 'key' field. CryptoPublicKey
build()
-
-
Method Detail
-
getKey
ByteBuffer getKey()
Gets the value of the 'key' field. Encoded public key
-
setKey
CryptoPublicKey.Builder setKey(ByteBuffer value)
Sets the value of the 'key' field. Encoded public key
- Parameters:
value
- The value of 'key'.
-
hasKey
boolean hasKey()
Checks whether the 'key' field has been set. Encoded public key
-
clearKey
CryptoPublicKey.Builder clearKey()
Clears the value of the 'key' field. Encoded public key
-
build
CryptoPublicKey build()
-
-
-
-