Subversion Repositories oidplus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
868 daniel-mar 1
<?php
2
/**
3
 * SBrook\JWS\Asymmetric
4
 */
5
 
6
namespace SBrook\JWS;
7
 
8
/**
9
 * Interface Asymmetric
10
 * @package SBrook\JWS
11
 */
12
interface Asymmetric {
13
        /**
14
         * Set private key.
15
         * @param $key - Private key.
16
         * @param $pass - Private key password.
17
         */
18
        public function setPrivateKey($key, $pass);
19
 
20
        /**
21
         * Set public key.
22
         * @param $key - Public key.
23
         */
24
        public function setPublicKey($key);
25
}