Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Crypto.ResultOfAppPasswordProvider.GetPassword
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Crypto.ResultOfAppPasswordProvider.GetPassword
- Record Components:
encryptedPassword
- Password, encrypted and encoded to base64. Crypto box uses this password to decrypt its secret (seed phrase).appEncryptionPubkey
- Used together with `encryption_public_key` to decode `encrypted_password`. Hex encoded public key of a temporary key pair, used for password encryption on application side.
- All Implemented Interfaces:
Crypto.ResultOfAppPasswordProvider
- Enclosing interface:
Crypto.ResultOfAppPasswordProvider
public static record Crypto.ResultOfAppPasswordProvider.GetPassword(String encryptedPassword, String appEncryptionPubkey)
extends Record
implements Crypto.ResultOfAppPasswordProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Crypto.ResultOfAppPasswordProvider
Crypto.ResultOfAppPasswordProvider.GetPassword
-
Constructor Summary
ConstructorsConstructorDescriptionGetPassword
(String encryptedPassword, String appEncryptionPubkey) Creates an instance of aGetPassword
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappEncryptionPubkey
record component.Returns the value of theencryptedPassword
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.type()
-
Constructor Details
-
GetPassword
Creates an instance of aGetPassword
record class.- Parameters:
encryptedPassword
- the value for theencryptedPassword
record componentappEncryptionPubkey
- the value for theappEncryptionPubkey
record component
-
-
Method Details
-
type
-
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)
. -
encryptedPassword
Returns the value of theencryptedPassword
record component.- Returns:
- the value of the
encryptedPassword
record component
-
appEncryptionPubkey
Returns the value of theappEncryptionPubkey
record component.- Returns:
- the value of the
appEncryptionPubkey
record component
-