/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('ID-Lookup By Phone Number', array(self::argPhoneNo, self::argFrom, self::argSecret), 'Lookup the ID linked to the given phone number (will be hashed locally).'); $this->publicKeyStore = $publicKeyStore; }
/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('Send Simple Message', array(self::argThreemaId, self::argFrom, self::argSecret), 'Send a message from standard input with server-side encryption to the given ID. is the API identity and \'secret\' is the API secret. the message ID on success.'); $this->publicKeyStore = $publicKeyStore; }
/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('ID-Lookup By Email Address', array(self::argEmail, self::argFrom, self::argSecret), 'Lookup the ID linked to the given email address (will be hashed locally).'); $this->publicKeyStore = $publicKeyStore; }
/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('Send End-to-End Encrypted Text Message', array(self::argThreemaId, self::argFrom, self::argSecret, self::argPrivateKey), 'Encrypt standard input and send the text message to the given ID. \'from\' is the API identity and \'secret\' is the API secret. Prints the message ID on success.'); $this->publicKeyStore = $publicKeyStore; }
public function __construct() { parent::__construct('Show current feature level', [], 'Show current version and feature level'); }
public function __construct() { parent::__construct('Derive Public Key', array(self::argPrivateKey), 'Derive the public key that corresponds with the given private key.'); }
public function __construct() { parent::__construct('Generate Key Pair', array(self::argPrivateKeyFile, self::argPublicKeyFile), 'Generate a new key pair and write the private and public keys to the respective files (in hex).'); }
public function __construct() { parent::__construct('Encrypt', array(self::argPrivateKey, self::argPublicKey), 'Encrypt standard input using the given sender private key and recipient public key. two lines to standard output: first the nonce (hex), and then the box (hex).'); }
/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('Fetch Public Key', array(self::argThreemaId, self::argFrom, self::argSecret), 'Lookup the public key for the given ID.'); $this->publicKeyStore = $publicKeyStore; }
public function __construct() { parent::__construct('Hash Phone Number', array(self::argPhoneNo), 'Hash a phone number for identity lookup. Prints the hash in hex.'); }
/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('Get remaining credits', array(self::argFrom, self::argSecret), 'Get the remaining credits'); $this->publicKeyStore = $publicKeyStore; }
public function __construct() { parent::__construct('Hash Email Address', array(self::argEmail), 'Hash an email address for identity lookup. Prints the hash in hex.'); }
/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('Decrypt a Message and download the Files', array(self::argThreemaId, self::argFrom, self::argSecret, self::argPrivateKey, self::argMessageId, self::argNonce), 'Decrypt a box (must be provided on stdin) message and download (if the message is an image or file message) the file(s) to the given <' . self::argOutputFolder . '> folder', array(self::argOutputFolder)); $this->publicKeyStore = $publicKeyStore; }
/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('Send a End-to-End Encrypted File Message', array(self::argThreemaId, self::argFrom, self::argSecret, self::argPrivateKey, self::argFile), 'Encrypt the file (and thumbnail if given) and send the message to the given ID. \'from\' is the API identity and \'secret\' is the API secret. Prints the message ID on success.', array(self::argThumbnail)); $this->publicKeyStore = $publicKeyStore; }
/** * @param PublicKeyStore $publicKeyStore */ public function __construct(PublicKeyStore $publicKeyStore) { parent::__construct('Fetch Capability', array(self::argThreemaId, self::argFrom, self::argSecret), 'Fetch the capabilities of a Threema ID'); $this->publicKeyStore = $publicKeyStore; }