Class DataEncryptionKeySerializer

java.lang.Object
org.apache.ignite.internal.versioned.VersionedSerializer<org.gridgain.internal.encryption.provider.DataEncryptionKey>
org.gridgain.internal.encryption.DataEncryptionKeySerializer

public class DataEncryptionKeySerializer extends org.apache.ignite.internal.versioned.VersionedSerializer<org.gridgain.internal.encryption.provider.DataEncryptionKey>
VersionedSerializer for DataEncryptionKey instances.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Serializer instance.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.gridgain.internal.encryption.provider.DataEncryptionKey
    deserialize(byte[] bytes)
    Deserializes a key from bytes.
    protected org.gridgain.internal.encryption.provider.DataEncryptionKey
    readExternalData(byte protoVer, org.apache.ignite.internal.util.io.IgniteDataInput in)
     
    static byte[]
    serialize(org.gridgain.internal.encryption.provider.DataEncryptionKey key)
    Serializes the given key.
    protected void
    writeExternalData(org.gridgain.internal.encryption.provider.DataEncryptionKey key, org.apache.ignite.internal.util.io.IgniteDataOutput out)
     

    Methods inherited from class org.apache.ignite.internal.versioned.VersionedSerializer

    getProtocolVersion, readByteArrayWithLength, readExternal, readNullableString, readNullableUuid, readStringSet, readUuidSet, readVarIntSet, writeByteArrayWithLength, writeExternal, writeNullableString, writeNullableUuid, writeStringSet, writeUuidSet, writeVarIntSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DataEncryptionKeySerializer

      public DataEncryptionKeySerializer()
  • Method Details

    • serialize

      public static byte[] serialize(org.gridgain.internal.encryption.provider.DataEncryptionKey key)
      Serializes the given key.
      Parameters:
      key - Key.
    • deserialize

      public static org.gridgain.internal.encryption.provider.DataEncryptionKey deserialize(byte[] bytes)
      Deserializes a key from bytes.
      Parameters:
      bytes - Serialized by serialize(DataEncryptionKey).
    • writeExternalData

      protected void writeExternalData(org.gridgain.internal.encryption.provider.DataEncryptionKey key, org.apache.ignite.internal.util.io.IgniteDataOutput out) throws IOException
      Specified by:
      writeExternalData in class org.apache.ignite.internal.versioned.VersionedSerializer<org.gridgain.internal.encryption.provider.DataEncryptionKey>
      Throws:
      IOException
    • readExternalData

      protected org.gridgain.internal.encryption.provider.DataEncryptionKey readExternalData(byte protoVer, org.apache.ignite.internal.util.io.IgniteDataInput in) throws IOException
      Specified by:
      readExternalData in class org.apache.ignite.internal.versioned.VersionedSerializer<org.gridgain.internal.encryption.provider.DataEncryptionKey>
      Throws:
      IOException