Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Crypto.ParamsOfGetEncryptionBoxFromCryptoBox
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Crypto.ParamsOfGetEncryptionBoxFromCryptoBox
- Record Components:
handle
- Crypto Box Handle.hdpath
- HD key derivation path. By default, Everscale HD path is used.algorithm
- Encryption algorithm.secretLifetime
- Store derived secret for encryption algorithm for this lifetime (in ms). The timer starts after each encryption box operation. Secrets will be deleted (overwritten with zeroes) after each encryption operation, if this value is not set.
- Enclosing class:
Crypto
public static record Crypto.ParamsOfGetEncryptionBoxFromCryptoBox(Number handle, String hdpath, Crypto.BoxEncryptionAlgorithm algorithm, Number secretLifetime)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfGetEncryptionBoxFromCryptoBox
(Number handle, String hdpath, Crypto.BoxEncryptionAlgorithm algorithm, Number secretLifetime) Creates an instance of aParamsOfGetEncryptionBoxFromCryptoBox
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithm
record component.final boolean
Indicates whether some other object is "equal to" this one.handle()
Returns the value of thehandle
record component.final int
hashCode()
Returns a hash code value for this object.hdpath()
Returns the value of thehdpath
record component.Returns the value of thesecretLifetime
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfGetEncryptionBoxFromCryptoBox
public ParamsOfGetEncryptionBoxFromCryptoBox(Number handle, String hdpath, Crypto.BoxEncryptionAlgorithm algorithm, Number secretLifetime) Creates an instance of aParamsOfGetEncryptionBoxFromCryptoBox
record class.- Parameters:
handle
- the value for thehandle
record componenthdpath
- the value for thehdpath
record componentalgorithm
- the value for thealgorithm
record componentsecretLifetime
- the value for thesecretLifetime
record component
-
-
Method Details
-
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)
. -
handle
Returns the value of thehandle
record component.- Returns:
- the value of the
handle
record component
-
hdpath
Returns the value of thehdpath
record component.- Returns:
- the value of the
hdpath
record component
-
algorithm
Returns the value of thealgorithm
record component.- Returns:
- the value of the
algorithm
record component
-
secretLifetime
Returns the value of thesecretLifetime
record component.- Returns:
- the value of the
secretLifetime
record component
-