Package org.xrpl.xrpl4j.crypto
Interface KeyStoreType
- All Known Implementing Classes:
ImmutableDefaultKeyStoreType
,KeyStoreType.DefaultKeyStoreType
Deprecated.
This class will be removed once crypto-core is the primary mechanism for signing.
An extensible interface that can be used to identify a type of underlying key-storage, which typically treats key-material as "secret information" whereas the data encrypted by these keys is generally not stored in these platforms.
For example, a database password would not be stored in the key-store. Instead, a private key or symmetric key would be stored in the key-store, and the encrypted database password would be stored in some other system in encrypted form.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Deprecated.For immutables. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyStoreType
Deprecated.Private keys are derived from a seed that is derived from a unique identifier and an in-memory server secret.static final KeyStoreType
Deprecated.Private keys and symmetric secrets are stored in Google Cloud Platform KMS. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.Builder for immutables.static KeyStoreType
fromKeystoreTypeId
(String keystoreTypeId) Deprecated.Helper method to construct a org.xrpl4j.crypto.keystore type from aString
.Deprecated.The unique identifier of this KeyStore type.static KeyStoreType
Deprecated.Builder.
-
Field Details
-
DERIVED_SERVER_SECRET
Deprecated.Private keys are derived from a seed that is derived from a unique identifier and an in-memory server secret. -
GCP_KMS
Deprecated.Private keys and symmetric secrets are stored in Google Cloud Platform KMS.
-
-
Method Details
-
builder
Deprecated.Builder for immutables.- Returns:
- A
ImmutableDefaultKeyStoreType.Builder
.
-
of
Deprecated.Builder.- Parameters:
keystoreId
- AString
identifying the KeyStore.- Returns:
- A
KeyStoreType
.
-
fromKeystoreTypeId
Deprecated.Helper method to construct a org.xrpl4j.crypto.keystore type from aString
.- Parameters:
keystoreTypeId
- AString
identifying the KeyStore type to construct.- Returns:
- A
KeyStoreType
.
-
keystoreId
String keystoreId()Deprecated.The unique identifier of this KeyStore type.- Returns:
- A
String
-