2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Pkcs / KeyAgreeRecipientInfo.cs
index abdcc8e9512bd2ecd844b2ba4a98f8881640aea2..c3418b6e508f87d0e3948252011b8bce3466e467 100755 (executable)
@@ -2,11 +2,10 @@
 // KeyAgreeRecipientInfo.cs - System.Security.Cryptography.Pkcs.KeyAgreeRecipientInfo
 //
 // Author:
-//     Sebastien Pouliot (spouliot@motus.com)
+//     Sebastien Pouliot  <sebastien@ximian.com>
 //
 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
-//
-
+// Copyright (C) 2004 Novell Inc. (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -37,8 +36,11 @@ namespace System.Security.Cryptography.Pkcs {
        [MonoTODO]
        public sealed class KeyAgreeRecipientInfo : RecipientInfo {
 
-               // only accessible from EnvelopedPkcs7.RecipientInfos
-               internal KeyAgreeRecipientInfo () {}
+               // only accessible from EnvelopedCms.RecipientInfos
+               internal KeyAgreeRecipientInfo () 
+                       : base (RecipientInfoType.KeyAgreement) 
+               {
+               }
 
                public DateTime Date {
                        get { return DateTime.MinValue; }
@@ -70,4 +72,4 @@ namespace System.Security.Cryptography.Pkcs {
        }
 }
 
-#endif
\ No newline at end of file
+#endif