protected static function JwtRsKeyType::getAlgorithmKeysize in JSON Web Token Authentication (JWT) 8.0
Same name and namespace in other branches
- 8 src/Plugin/KeyType/JwtRsKeyType.php \Drupal\jwt\Plugin\KeyType\JwtRsKeyType::getAlgorithmKeysize()
Get keysizes for the various algorithms.
Return value
array An array key keysizes.
1 call to JwtRsKeyType::getAlgorithmKeysize()
- JwtRsKeyType::generateKeyValue in src/
Plugin/ KeyType/ JwtRsKeyType.php - Generate a key value of this type using the submitted configuration.
File
- src/
Plugin/ KeyType/ JwtRsKeyType.php, line 131
Class
- JwtRsKeyType
- Defines a key type for JWT RSA Signatures.
Namespace
Drupal\jwt\Plugin\KeyTypeCode
protected static function getAlgorithmKeysize() {
return [
'RS256' => 2048,
];
}