Package net.finmath.pontes.erc7573
Record Class PontesFulfillmentAbi.GeneratedKey
java.lang.Object
java.lang.Record
net.finmath.pontes.erc7573.PontesFulfillmentAbi.GeneratedKey
- Enclosing class:
PontesFulfillmentAbi
public static record PontesFulfillmentAbi.GeneratedKey(byte[] keyId, byte[] encryptedKey, byte[] hashedKey)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedKey(byte[] keyId, byte[] encryptedKey, byte[] hashedKey) Creates an instance of aGeneratedKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the value of theencryptedKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.byte[]Returns the value of thehashedKeyrecord component.byte[]keyId()Returns the value of thekeyIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GeneratedKey
public GeneratedKey(byte[] keyId, byte[] encryptedKey, byte[] hashedKey) Creates an instance of aGeneratedKeyrecord class.- Parameters:
keyId- the value for thekeyIdrecord componentencryptedKey- the value for theencryptedKeyrecord componenthashedKey- the value for thehashedKeyrecord component
-
-
Method Details
-
keyId
public byte[] keyId()Returns the value of thekeyIdrecord component.- Returns:
- the value of the
keyIdrecord component
-
encryptedKey
public byte[] encryptedKey()Returns the value of theencryptedKeyrecord component.- Returns:
- the value of the
encryptedKeyrecord component
-
hashedKey
public byte[] hashedKey()Returns the value of thehashedKeyrecord component.- Returns:
- the value of the
hashedKeyrecord component
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object).
-