Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Crypto.ParamsOfHDKeyDeriveFromXPrv
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Crypto.ParamsOfHDKeyDeriveFromXPrv
- Record Components:
xprv
- Serialized extended private keychildIndex
- Child index (see BIP-0032)hardened
- Indicates the derivation of hardened/not-hardened key (see BIP-0032)
- Enclosing class:
Crypto
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfHDKeyDeriveFromXPrv
(String xprv, Long childIndex, Boolean hardened) Creates an instance of aParamsOfHDKeyDeriveFromXPrv
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechildIndex
record component.final boolean
Indicates whether some other object is "equal to" this one.hardened()
Returns the value of thehardened
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.xprv()
Returns the value of thexprv
record component.
-
Constructor Details
-
ParamsOfHDKeyDeriveFromXPrv
Creates an instance of aParamsOfHDKeyDeriveFromXPrv
record class.- Parameters:
xprv
- the value for thexprv
record componentchildIndex
- the value for thechildIndex
record componenthardened
- the value for thehardened
record 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)
. -
xprv
-
childIndex
Returns the value of thechildIndex
record component.- Returns:
- the value of the
childIndex
record component
-
hardened
-