public interface SdkProvider
Note: we offer an Android specific implementation of this class, see Java Stellar SDK Android SPI.
Modifier and Type | Method and Description |
---|---|
default Base32 |
createBase32()
Creates a
Base32 implementation that will be used by the SDK. |
default Base64 |
createBase64()
Creates a
Base64 implementation that will be used by the SDK. |
default Base64 createBase64()
Base64
implementation that will be used by the SDK.
Note: Default implementation will use the JDK's Base64
, and it only works
with Android API 26 and above, if you need to support older versions of Android you need to
provide your own implementation, this
is an example for reference.
Base64
implementation, if returns null the SDK will use the default
implementation.default Base32 createBase32()
Base32
implementation that will be used by the SDK.
Note: Default implementation will use the Apache Commons Codec's Base32
, and it only works with Android API 28 and above, if
you need to support older versions of Android you need to provide your own implementation, this
is an example for reference.
Base32
implementation, if returns null the SDK will use the default
implementation.