コード例 #1
0
        public static bool _Create_System_String( )
        {
            //Parameters
            System.String algName = null;

            //ReturnType/Value
            System.Security.Cryptography.DSA returnVal_Real        = null;
            System.Security.Cryptography.DSA returnVal_Intercepted = null;

            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Security.Cryptography.DSA.Create(algName);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Security.Cryptography.DSA.Create(algName);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }


            Return((exception_Real.Messsage == exception_Intercepted.Message) && (returnValue_Real == returnValue_Intercepted));
        }
コード例 #2
0
 public DSAKeyValue(System.Security.Cryptography.DSA key)
 {
 }
コード例 #3
0
 public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.DSA privateKey)
 {
     throw null;
 }
コード例 #4
0
 public static byte[] ToCapiKeyBlob(System.Security.Cryptography.DSA dsa, bool includePrivateKey)
 {
     throw new NotImplementedException();
 }
コード例 #5
0
 public static byte[] ToCapiPublicKeyBlob(System.Security.Cryptography.DSA dsa)
 {
     throw new NotImplementedException();
 }
コード例 #6
0
 public virtual override byte[] Sign(System.Security.Cryptography.DSA key)
 {
     throw new NotImplementedException();
 }