Class HvlJwkRsaKeyUtils

java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.oidc.util.HvlJwkRsaKeyUtils

public final class HvlJwkRsaKeyUtils extends Object
Util class for rsa key generation.
  • Field Details

  • 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 id
      rsaPrivateKeyBytes - the rsa private key bytes
      rsaPublicKeyBytes - the rsa public key bytes
      Returns:
      the rsa key