@Test
public void decryptWithTestVectors() throws GeneralSecurityException {

  for (RsaKemHybridTestVector vector : rsaKemHybridTestVectors) {
    String hmacAlgo = vector.hmacAlgo;
    byte[] salt = vector.salt;
    RSAPrivateKey rsaPrivateKey = vector.privateKey;
    HybridDecrypt hybridDecrypt =
        new RsaKemHybridDecrypt(
            rsaPrivateKey, hmacAlgo, salt, new AesGcmFactory(vector.aesGcmKeySizeInBytes));
    byte[] plaintext = hybridDecrypt.decrypt(vector.ciphertext, vector.contextInfo);
    assertThat(Hex.encode(plaintext)).isEqualTo(vector.plaintext);
  }
}