Package net.corda.data.crypto.wire
Class CryptoSignature.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CryptoSignature.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CryptoSignature instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
bytes
-
Method Summary
Modifier and Type Method Description ByteBuffer
getBytes()
Gets the value of the 'bytes' field. CryptoSignature.Builder
setBytes(ByteBuffer value)
Sets the value of the 'bytes' field. boolean
hasBytes()
Checks whether the 'bytes' field has been set. CryptoSignature.Builder
clearBytes()
Clears the value of the 'bytes' field. CryptoSignature
build()
-
-
Method Detail
-
getBytes
ByteBuffer getBytes()
Gets the value of the 'bytes' field. Byte array of the signature, exactly as returned by crypto signing operations
-
setBytes
CryptoSignature.Builder setBytes(ByteBuffer value)
Sets the value of the 'bytes' field. Byte array of the signature, exactly as returned by crypto signing operations
- Parameters:
value
- The value of 'bytes'.
-
hasBytes
boolean hasBytes()
Checks whether the 'bytes' field has been set. Byte array of the signature, exactly as returned by crypto signing operations
-
clearBytes
CryptoSignature.Builder clearBytes()
Clears the value of the 'bytes' field. Byte array of the signature, exactly as returned by crypto signing operations
-
build
CryptoSignature build()
-
-
-
-