Alpha code for Secret Persistence Policy. In Progress.
This commit is contained in:
		| @@ -132,12 +132,15 @@ public class PersistencePol : CASAPol | ||||
| 		ArrayList al = new ArrayList(); | ||||
| 		 | ||||
| 		//enumerate all secrets loaded | ||||
| 		IDictionaryEnumerator idEnum = htSecretPolicys.GetEnumerator(); | ||||
| 		while (idEnum.MoveNext()) | ||||
| 		if (htSecretPolicys != null) | ||||
| 		{ | ||||
| 			string sSecretID = (string)idEnum.Key; | ||||
| 			al.Add(sSecretID); | ||||
| 		}		 | ||||
| 			IDictionaryEnumerator idEnum = htSecretPolicys.GetEnumerator(); | ||||
| 			while (idEnum.MoveNext()) | ||||
| 			{ | ||||
| 				string sSecretID = (string)idEnum.Key; | ||||
| 				al.Add(sSecretID); | ||||
| 			} | ||||
| 		} | ||||
| 		 | ||||
| 		return al; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user