Class CryptoSignatureWithKey.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CryptoSignatureWithKey.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CryptoSignatureWithKey instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
publicKey
public ByteBuffer
bytes
-
Method Summary
Modifier and Type Method Description ByteBuffer
getPublicKey()
Gets the value of the 'publicKey' field. CryptoSignatureWithKey.Builder
setPublicKey(ByteBuffer value)
Sets the value of the 'publicKey' field. ByteBuffer
getBytes()
Gets the value of the 'bytes' field. CryptoSignatureWithKey.Builder
setBytes(ByteBuffer value)
Sets the value of the 'bytes' field. boolean
hasPublicKey()
Checks whether the 'publicKey' field has been set. CryptoSignatureWithKey.Builder
clearPublicKey()
Clears the value of the 'publicKey' field. boolean
hasBytes()
Checks whether the 'bytes' field has been set. CryptoSignatureWithKey.Builder
clearBytes()
Clears the value of the 'bytes' field. CryptoSignatureWithKey
build()
-
-
Method Detail
-
getPublicKey
ByteBuffer getPublicKey()
Gets the value of the 'publicKey' field. Public keys which can be used to verify the signature
-
setPublicKey
CryptoSignatureWithKey.Builder setPublicKey(ByteBuffer value)
Sets the value of the 'publicKey' field. Public keys which can be used to verify the signature
- Parameters:
value
- The value of 'publicKey'.
-
getBytes
ByteBuffer getBytes()
Gets the value of the 'bytes' field. Byte array of the signature, exactly as returned by crypto signing operations
-
setBytes
CryptoSignatureWithKey.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'.
-
hasPublicKey
boolean hasPublicKey()
Checks whether the 'publicKey' field has been set. Public keys which can be used to verify the signature
-
clearPublicKey
CryptoSignatureWithKey.Builder clearPublicKey()
Clears the value of the 'publicKey' field. Public keys which can be used to verify the signature
-
hasBytes
boolean hasBytes()
Checks whether the 'bytes' field has been set. Byte array of the signature, exactly as returned by crypto signing operations
-
clearBytes
CryptoSignatureWithKey.Builder clearBytes()
Clears the value of the 'bytes' field. Byte array of the signature, exactly as returned by crypto signing operations
-
build
CryptoSignatureWithKey build()
-
-
-
-