java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Crypto.AesParamsEB
- Enclosing class:
Crypto
public static record Crypto.AesParamsEB(Crypto.CipherMode mode, String key, String iv)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAesParamsEB(Crypto.CipherMode mode, String key, String iv) Creates an instance of aAesParamsEBrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.iv()Returns the value of theivrecord component.key()Returns the value of thekeyrecord component.mode()Returns the value of themoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AesParamsEB
Creates an instance of aAesParamsEBrecord class.- Parameters:
mode- the value for themoderecord componentkey- the value for thekeyrecord componentiv- the value for theivrecord 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). -
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
iv
Returns the value of theivrecord component.- Returns:
- the value of the
ivrecord component
-