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, Integer childIndex, Boolean hardened) Creates an instance of aParamsOfHDKeyDeriveFromXPrvrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechildIndexrecord component.final booleanIndicates whether some other object is "equal to" this one.hardened()Returns the value of thehardenedrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.xprv()Returns the value of thexprvrecord component.
-
Constructor Details
-
ParamsOfHDKeyDeriveFromXPrv
Creates an instance of aParamsOfHDKeyDeriveFromXPrvrecord class.- Parameters:
xprv- the value for thexprvrecord componentchildIndex- the value for thechildIndexrecord componenthardened- the value for thehardenedrecord component
-
-
Method Details
-
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). -
xprv
Returns the value of thexprvrecord component.- Returns:
- the value of the
xprvrecord component
-
childIndex
Returns the value of thechildIndexrecord component.- Returns:
- the value of the
childIndexrecord component
-
hardened
Returns the value of thehardenedrecord component.- Returns:
- the value of the
hardenedrecord component
-