コード例 #1
0
        public override void SelectConcept(Enum concept)
        {
            base.SelectConcept(concept);
            switch ((SecurityConcepts)concept)
            {
            case SecurityConcepts.SymmetricAESAlogorithmExample:
                conceptExecutionClass = new SymmetricAESAlogorithmExample();
                break;

            case SecurityConcepts.HashingExample:
                conceptExecutionClass = new SplittingDataUsingHashing();
                break;

            case SecurityConcepts.DigitalCertificateImplementationExample:
                conceptExecutionClass = new DigitalCertificateExample();
                break;

            case SecurityConcepts.CodeAccessPermissionExample:
                conceptExecutionClass = new CASExample();
                break;

            case SecurityConcepts.SecureStringExample:
                conceptExecutionClass = new SecureStringExamples();
                break;
            }
        }
コード例 #2
0
 public override void SelectConcept(Enum concept)
 {
     base.SelectConcept(concept);
     switch((SecurityConcepts)concept)
     {
         case SecurityConcepts.SymmetricAESAlogorithmExample:
             conceptExecutionClass = new SymmetricAESAlogorithmExample();
             break;
         case SecurityConcepts.HashingExample:
             conceptExecutionClass = new SplittingDataUsingHashing();
             break;
         case SecurityConcepts.DigitalCertificateImplementationExample:
             conceptExecutionClass = new DigitalCertificateExample();
             break;
         case SecurityConcepts.CodeAccessPermissionExample:
             conceptExecutionClass = new CASExample();
             break;
         case SecurityConcepts.SecureStringExample:
             conceptExecutionClass = new SecureStringExamples();
             break;
     }
 }