Package org.xrpl.xrpl4j.crypto.core.keys
Interface KeyPair
- All Known Implementing Classes:
ImmutableKeyPair
@Immutable
public interface KeyPair
Represents an XRPL public/private key pair.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableKeyPair.Builder
builder()
The private key of thisKeyPair
.The public key of thisKeyPair
.
-
Method Details
-
builder
-
privateKey
PrivateKey privateKey()The private key of thisKeyPair
.- Returns:
- A
PrivateKey
containing the private key.
-
publicKey
PublicKey publicKey()The public key of thisKeyPair
.- Returns:
- A
PublicKey
containing the public key.
-