1<?php 2/** 3 * This file is part of Lcobucci\JWT, a simple library to handle JWT and JWS 4 * 5 * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause 6 */ 7 8namespace Lcobucci\JWT\Signer; 9 10use const OPENSSL_KEYTYPE_RSA; 11 12/** 13 * Base class for RSASSA-PKCS1 signers 14 * 15 * @author Luís Otávio Cobucci Oblonczyk <lcobucci@gmail.com> 16 * @since 2.1.0 17 */ 18abstract class Rsa extends OpenSSL 19{ 20 final public function getKeyType() 21 { 22 return OPENSSL_KEYTYPE_RSA; 23 } 24} 25