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- By default, Everscale HD path is used. HD key derivation path.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(Long handle, String hdpath, Crypto.BoxEncryptionAlgorithm algorithm, Long secretLifetime)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfGetEncryptionBoxFromCryptoBox(Long handle, String hdpath, Crypto.BoxEncryptionAlgorithm algorithm, Long secretLifetime) Creates an instance of aParamsOfGetEncryptionBoxFromCryptoBoxrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.final booleanIndicates whether some other object is "equal to" this one.handle()Returns the value of thehandlerecord component.final inthashCode()Returns a hash code value for this object.hdpath()Returns the value of thehdpathrecord component.Returns the value of thesecretLifetimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfGetEncryptionBoxFromCryptoBox
public ParamsOfGetEncryptionBoxFromCryptoBox(Long handle, String hdpath, Crypto.BoxEncryptionAlgorithm algorithm, Long secretLifetime) Creates an instance of aParamsOfGetEncryptionBoxFromCryptoBoxrecord class.- Parameters:
handle- the value for thehandlerecord componenthdpath- the value for thehdpathrecord componentalgorithm- the value for thealgorithmrecord componentsecretLifetime- the value for thesecretLifetimerecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
handle
-
hdpath
-
algorithm
-
secretLifetime
Returns the value of thesecretLifetimerecord component.- Returns:
- the value of the
secretLifetimerecord component
-