docs: correct function names in security library tutorial
refs #2474
Change-Id: If8ef1d715227d03d55dfd0fd46cb75ab9831a6c8
diff --git a/docs/tutorials/security-library.rst b/docs/tutorials/security-library.rst
index 4f88f72..30d3de0 100644
--- a/docs/tutorials/security-library.rst
+++ b/docs/tutorials/security-library.rst
@@ -142,11 +142,11 @@
KeyChain keyChain;
Name alice("/ndn/test/alice");
- Name aliceKeyName = keyChain.generateRSAKeyPair(alice);
+ Name aliceKeyName = keyChain.generateRsaKeyPair(alice);
keyChain.setDefaultKeyNameForIdentity(aliceKeyName);
// Now the key with the name aliceKeyName2 becomes alice's default key
- Name aliceKeyName2 = keyChain.generateRSAKeyPairAsDefault(alice);
+ Name aliceKeyName2 = keyChain.generateRsaKeyPairAsDefault(alice);
Create Identity Certificate Manually
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~