RsaSigner
class RsaSigner implements Signer
Methods
string
algorithmId()
Return the JWT algorithm identifier.
string
sign(string $payload, Key $key)
Sign the payload with the supplied key.
bool
verify(string $expected, string $payload, Key $key)
Verify the signature with the supplied key.
Details
at line 19
string
algorithmId()
Return the JWT algorithm identifier.
at line 30
string
sign(string $payload, Key $key)
Sign the payload with the supplied key.
at line 49
bool
verify(string $expected, string $payload, Key $key)
Verify the signature with the supplied key.