java.com.ionic.sdk.agent.key.KeyBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ionic-sdk Show documentation
Show all versions of ionic-sdk Show documentation
The Ionic Java SDK provides an easy-to-use interface to the Ionic Platform.
package com.ionic.sdk.agent.key;
/**
* Common base interface for all Ionic Keys.
*/
public interface KeyBase {
/**
* Get an identifier for the key.
*
* @return String keyId.
*/
String getId();
/**
* Set the identifier of the key.
*
* @param keyId
* The key id String.
*/
void setId(String keyId);
/**
* Get the key data.
*
* @return byte[] keyBytes.
*/
byte[] getKey();
/**
* Set the key data.
*
* @param keyBytes
* The key bytes.
*/
void setKey(byte[] keyBytes);
}