2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Xml / EncryptedType.cs
index 637fa5e581cc021c5aa77e0983ac132f7c826203..5aa11a4cd3f517e07a9ce15951804fdf01f1a6f4 100644 (file)
@@ -52,12 +52,12 @@ namespace System.Security.Cryptography.Xml {
 
                protected EncryptedType ()
                {
-                       cipherData = null;
+                       cipherData = new CipherData ();
                        encoding = null;
                        encryptionMethod = null;
                        encryptionProperties = new EncryptionProperties ();
                        id = null;
-                       keyInfo = null;
+                       keyInfo = new KeyInfo ();
                        mimeType = null;
                        type = null;
                }