security: Construct KeyChain from configuration file.
Change-Id: Iaddac24e2c4e199fdde83fa1d0067a87e18729c4
Refs: #1532
diff --git a/tests-integrated/security/test-validator-config.cpp b/tests-integrated/security/test-validator-config.cpp
index a192c6c..6a7ffd9 100644
--- a/tests-integrated/security/test-validator-config.cpp
+++ b/tests-integrated/security/test-validator-config.cpp
@@ -559,7 +559,7 @@
Name sld("/TestValidatorConfig/HierarchicalChecker");
- Name sldKeyName = keyChain.generateRSAKeyPairAsDefault(sld, true);
+ Name sldKeyName = keyChain.generateRsaKeyPairAsDefault(sld, true);
shared_ptr<IdentityCertificate> sldCert =
keyChain.prepareUnsignedIdentityCertificate(sldKeyName,
root,
@@ -570,7 +570,7 @@
keyChain.addCertificateAsIdentityDefault(*sldCert);
Name nld("/TestValidatorConfig/HierarchicalChecker/NextLevel");
- Name nldKeyName = keyChain.generateRSAKeyPairAsDefault(nld, true);
+ Name nldKeyName = keyChain.generateRsaKeyPairAsDefault(nld, true);
shared_ptr<IdentityCertificate> nldCert =
keyChain.prepareUnsignedIdentityCertificate(nldKeyName,
sld,
@@ -764,7 +764,7 @@
Name sld("/TestValidatorConfig/Nrd-1");
- Name sldKeyName = keyChain.generateRSAKeyPairAsDefault(sld, true);
+ Name sldKeyName = keyChain.generateRsaKeyPairAsDefault(sld, true);
shared_ptr<IdentityCertificate> sldCert =
keyChain.prepareUnsignedIdentityCertificate(sldKeyName,
root,
@@ -775,7 +775,7 @@
keyChain.addCertificateAsIdentityDefault(*sldCert);
Name nld("/TestValidatorConfig/Nrd-1/Nrd-2");
- Name nldKeyName = keyChain.generateRSAKeyPairAsDefault(nld, true);
+ Name nldKeyName = keyChain.generateRsaKeyPairAsDefault(nld, true);
shared_ptr<IdentityCertificate> nldCert =
keyChain.prepareUnsignedIdentityCertificate(nldKeyName,
sld,