Record Class AEADEncryptedProperty
java.lang.Object
java.lang.Record
org.neo4j.driver.internal.encryption.AEADEncryptedProperty
public record AEADEncryptedProperty(String profileType, long profileVersion, String profileName, byte[] cipherOutput, byte[] iv, org.neo4j.bolt.connection.codec.value_encoding.ValueEncoder.Encoded encodedAad, String keyId, String typeName, long typeEncodingSchemeMajor, long typeEncodingSchemeMinor)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAEADEncryptedProperty(String profileType, long profileVersion, String profileName, byte[] cipherOutput, byte[] iv, org.neo4j.bolt.connection.codec.value_encoding.ValueEncoder.Encoded encodedAad, String keyId, String typeName, long typeEncodingSchemeMajor, long typeEncodingSchemeMinor) Creates an instance of aAEADEncryptedPropertyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the value of thecipherOutputrecord component.org.neo4j.bolt.connection.codec.value_encoding.ValueEncoder.EncodedReturns the value of theencodedAadrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.byte[]iv()Returns the value of theivrecord component.keyId()Returns the value of thekeyIdrecord component.Returns the value of theprofileNamerecord component.Returns the value of theprofileTyperecord component.longReturns the value of theprofileVersionrecord component.org.neo4j.bolt.connection.codec.packstream.struct.EncryptedStructurefinal StringtoString()Returns a string representation of this record class.longReturns the value of thetypeEncodingSchemeMajorrecord component.longReturns the value of thetypeEncodingSchemeMinorrecord component.typeName()Returns the value of thetypeNamerecord component.
-
Constructor Details
-
AEADEncryptedProperty
public AEADEncryptedProperty(String profileType, long profileVersion, String profileName, byte[] cipherOutput, byte[] iv, org.neo4j.bolt.connection.codec.value_encoding.ValueEncoder.Encoded encodedAad, String keyId, String typeName, long typeEncodingSchemeMajor, long typeEncodingSchemeMinor) Creates an instance of aAEADEncryptedPropertyrecord class.- Parameters:
profileType- the value for theprofileTyperecord componentprofileVersion- the value for theprofileVersionrecord componentprofileName- the value for theprofileNamerecord componentcipherOutput- the value for thecipherOutputrecord componentiv- the value for theivrecord componentencodedAad- the value for theencodedAadrecord componentkeyId- the value for thekeyIdrecord componenttypeName- the value for thetypeNamerecord componenttypeEncodingSchemeMajor- the value for thetypeEncodingSchemeMajorrecord componenttypeEncodingSchemeMinor- the value for thetypeEncodingSchemeMinorrecord component
-
-
Method Details
-
toEncryptedStruct
public org.neo4j.bolt.connection.codec.packstream.struct.EncryptedStructure toEncryptedStruct() -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
profileType
Returns the value of theprofileTyperecord component.- Returns:
- the value of the
profileTyperecord component
-
profileVersion
public long profileVersion()Returns the value of theprofileVersionrecord component.- Returns:
- the value of the
profileVersionrecord component
-
profileName
Returns the value of theprofileNamerecord component.- Returns:
- the value of the
profileNamerecord component
-
cipherOutput
public byte[] cipherOutput()Returns the value of thecipherOutputrecord component.- Returns:
- the value of the
cipherOutputrecord component
-
iv
public byte[] iv()Returns the value of theivrecord component.- Returns:
- the value of the
ivrecord component
-
encodedAad
public org.neo4j.bolt.connection.codec.value_encoding.ValueEncoder.Encoded encodedAad()Returns the value of theencodedAadrecord component.- Returns:
- the value of the
encodedAadrecord component
-
keyId
Returns the value of thekeyIdrecord component.- Returns:
- the value of the
keyIdrecord component
-
typeName
Returns the value of thetypeNamerecord component.- Returns:
- the value of the
typeNamerecord component
-
typeEncodingSchemeMajor
public long typeEncodingSchemeMajor()Returns the value of thetypeEncodingSchemeMajorrecord component.- Returns:
- the value of the
typeEncodingSchemeMajorrecord component
-
typeEncodingSchemeMinor
public long typeEncodingSchemeMinor()Returns the value of thetypeEncodingSchemeMinorrecord component.- Returns:
- the value of the
typeEncodingSchemeMinorrecord component
-