Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.X509
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32557
Modified Files:
X509Chain.cs X509Certificate.cs PKCS12.cs
Log Message:
Updated Mono.Security sources to mono Beta 2
Index: X509Certificate.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.X509/X509Certificate.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** X509Certificate.cs 9 May 2004 12:06:15 -0000 1.3
--- X509Certificate.cs 12 Jun 2004 09:26:20 -0000 1.4
***************
*** 175,180 ****
m_encodedcert = (byte[]) data.Clone ();
}
! catch {
! throw new CryptographicException (e);
}
}
--- 175,180 ----
m_encodedcert = (byte[]) data.Clone ();
}
! catch (Exception ex) {
! throw new CryptographicException (e, ex);
}
}
***************
*** 454,456 ****
}
}
! }
\ No newline at end of file
--- 454,456 ----
}
}
! }
Index: X509Chain.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.X509/X509Chain.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** X509Chain.cs 9 May 2004 12:06:15 -0000 1.3
--- X509Chain.cs 12 Jun 2004 09:26:20 -0000 1.4
***************
*** 183,190 ****
return false;
}
!
// TODO - we should check for CRITICAL but unknown extensions
// X509ChainStatusFlags.InvalidExtension
- /*
#if (!NET_1_0 && !INSIDE_CORLIB)
if (ServicePointManager.CheckCertificateRevocationList) {
--- 183,189 ----
return false;
}
! /*
// TODO - we should check for CRITICAL but unknown extensions
// X509ChainStatusFlags.InvalidExtension
#if (!NET_1_0 && !INSIDE_CORLIB)
if (ServicePointManager.CheckCertificateRevocationList) {
Index: PKCS12.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.X509/PKCS12.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PKCS12.cs 9 May 2004 12:06:15 -0000 1.2
--- PKCS12.cs 12 Jun 2004 09:26:20 -0000 1.3
***************
*** 45,49 ****
public
#endif
! class PKCS12 {
public const string pbeWithSHAAnd128BitRC4 = "1.2.840.113549.1.12.1.1";
--- 45,82 ----
public
#endif
! class PKCS9 {
!
[...1161 lines suppressed...]
***************
*** 756,759 ****
--- 1658,1674 ----
}
+ public object Clone ()
+ {
+ PKCS12 clone = null;
+ if (_password != null) {
+ clone = new PKCS12 (GetBytes (), Encoding.BigEndianUnicode.GetString (_password));
+ } else {
+ clone = new PKCS12 (GetBytes ());
+ }
+ clone.IterationCount = this.IterationCount;
+
+ return clone;
+ }
+
// static methods
|