RsaKey
class RsaKey extends CoseKey (View source)
Constants
COSE_KTY_EC2 |
EC2 key type |
COSE_KTY_RSA |
RSA key type |
COSE_KEY_PARAM_KTY |
Identification of the key type |
COSE_KEY_PARAM_KID |
Key identification value |
COSE_KEY_PARAM_ALG |
Key usage restriction to this algorithm |
KTP_N |
RSA modulus n key type parameter (key type 3, RSA) |
KTP_E |
RSA exponent e key type parameter (key type 3, RSA) |
SUPPORTED_ALGORITHMS |
|
Methods
static
from CoseKey
getCbor()
No description
algorithmSupported(int $algorithm)
No description
static
fromCborData(array $data)
No description
getModulus()
No description
getExponent()
No description
asPem()
No description
Details
at line 44
__construct(ByteBuffer $modulus, ByteBuffer $exponent, int $algorithm)
CoseKey constructor.