Class CoingiDefaultIdentityProvider


  • public class CoingiDefaultIdentityProvider
    extends Object
    • Constructor Detail

      • CoingiDefaultIdentityProvider

        public CoingiDefaultIdentityProvider​(byte[] publicKey,
                                             byte[] privateKey)
        Initializes the provider using the given public and private API key.
        Parameters:
        publicKey - Public API key part
        privateKey - Private API key part
    • Method Detail

      • getPublicKey

        public byte[] getPublicKey()
        Returns the public key part.
        Returns:
        Public key
      • getSignature

        public String getSignature​(long nonce)
        Returns a valid signature for the given nonce.
        Parameters:
        nonce - Request nonce
        Returns:
        Request signature