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 aGetPasswordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappEncryptionPubkeyrecord component.Returns the value of theencryptedPasswordrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()
-
Constructor Details
-
GetPassword
Creates an instance of aGetPasswordrecord class.- Parameters:
encryptedPassword- the value for theencryptedPasswordrecord componentappEncryptionPubkey- the value for theappEncryptionPubkeyrecord component
-
-
Method Details
-
type
-
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). -
encryptedPassword
Returns the value of theencryptedPasswordrecord component.- Returns:
- the value of the
encryptedPasswordrecord component
-
appEncryptionPubkey
Returns the value of theappEncryptionPubkeyrecord component.- Returns:
- the value of the
appEncryptionPubkeyrecord component
-