Uses of Class
org.xrpl.xrpl4j.crypto.keys.PrivateKey
Packages that use PrivateKey
Package
Description
-
Uses of PrivateKey in org.xrpl.xrpl4j.crypto.keys
Methods in org.xrpl.xrpl4j.crypto.keys that return PrivateKeyModifier and TypeMethodDescriptionstatic PrivateKeyPrivateKey.fromNaturalBytes(UnsignedByteArray value, KeyType keyType) Instantiates a new instance ofPrivateKeyusing the supplied 32 bytes and specified key type.static PrivateKeyPrivateKey.fromPrefixedBytes(UnsignedByteArray value) Instantiates a new instance ofPrivateKeyusing the supplied bytes by inspecting the first byte out of 33 to see whichKeyTypeto assign.static PrivateKeyPrivateKey.of(UnsignedByteArray value) Deprecated.This method will be removed in a future version.ImmutableKeyPair.privateKey()The private key of thisKeyPair.KeyPair.privateKey()The private key of thisKeyPair.Methods in org.xrpl.xrpl4j.crypto.keys with parameters of type PrivateKeyModifier and TypeMethodDescriptionfinal ImmutableKeyPair.BuilderImmutableKeyPair.Builder.privateKey(PrivateKey privateKey) Initializes the value for theprivateKeyattribute.final ImmutableKeyPairImmutableKeyPair.withPrivateKey(PrivateKey value) Copy the current immutable object by setting a value for theprivateKeyattribute. -
Uses of PrivateKey in org.xrpl.xrpl4j.crypto.keys.bc
Methods in org.xrpl.xrpl4j.crypto.keys.bc that return PrivateKeyModifier and TypeMethodDescriptionstatic PrivateKeyBcKeyUtils.toPrivateKey(org.bouncycastle.crypto.params.ECPrivateKeyParameters ecPrivateKeyParameters) Convert from aECPrivateKeyParametersto aPrivateKey.static PrivateKeyBcKeyUtils.toPrivateKey(org.bouncycastle.crypto.params.Ed25519PrivateKeyParameters ed25519PrivateKeyParameters) Convert from aEd25519PrivateKeyParametersto aPrivateKey.Methods in org.xrpl.xrpl4j.crypto.keys.bc with parameters of type PrivateKeyModifier and TypeMethodDescriptionstatic org.bouncycastle.crypto.params.ECPrivateKeyParametersBcKeyUtils.toEcPrivateKeyParams(PrivateKey privateKey) Convert from aPrivateKeyto aECPrivateKeyParameters.static org.bouncycastle.crypto.params.Ed25519PrivateKeyParametersBcKeyUtils.toEd25519PrivateKeyParams(PrivateKey privateKey) Convert from aPrivateKeyto aEd25519PrivateKeyParameters.static PublicKeyBcKeyUtils.toPublicKey(PrivateKey privateKey) Convert from aPrivateKeyto aPublicKey. -
Uses of PrivateKey in org.xrpl.xrpl4j.crypto.signing.bc
Methods in org.xrpl.xrpl4j.crypto.signing.bc with parameters of type PrivateKeyModifier and TypeMethodDescriptionBcSignatureService.derivePublicKey(PrivateKey privateKey) protected SignatureBcSignatureService.ecDsaSign(PrivateKey privateKey, UnsignedByteArray transactionBytes) protected SignatureBcSignatureService.edDsaSign(PrivateKey privateKey, UnsignedByteArray signableTransactionBytes)