Class HvlJwkRsaKeyUtils
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.oidc.util.HvlJwkRsaKeyUtils
Util class for rsa key generation.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.nimbusds.jose.jwk.RSAKey
generateRsaKey
(String keyId, byte[] rsaPrivateKeyBytes, byte[] rsaPublicKeyBytes) Generate rsa key rsa key.
-
Field Details
-
rsaAlgorithmName
The constant rsaAlgorithmName.- See Also:
-
-
Method Details
-
generateRsaKey
public static com.nimbusds.jose.jwk.RSAKey generateRsaKey(String keyId, byte[] rsaPrivateKeyBytes, byte[] rsaPublicKeyBytes) Generate rsa key rsa key.- Parameters:
keyId
- the key idrsaPrivateKeyBytes
- the rsa private key bytesrsaPublicKeyBytes
- the rsa public key bytes- Returns:
- the rsa key
-