Age | Commit message (Collapse) | Author |
|
* X501Name.cs: Support for E (email) in FromString.
* X520Attributes.cs: Added X520.EmailAddress.
Both patches fix bug #61241 and were contributed by Ianier Munoz.
svn path=/branches/mono-1-0/mcs/; revision=31197
|
|
* KeyUsageExtension.cs: Added Encode to extension so it can be used
by makecert. Fix bug # 61240. Patch provided by Ianier Munoz.
svn path=/branches/mono-1-0/mcs/; revision=31195
|
|
* SslClientStream.cs: Changed lock to "new object()" and not
String.Empty (as the read/write locks points becomes the same).
* SslServerStream.cs: Changed lock to "new object()" and not
String.Empty (as the read/write locks points becomes the same).
svn path=/branches/mono-1-0/mcs/; revision=31152
|
|
* Mono.Security/Mono.Security.Protocol.Tls/HttpsClientStream.cs: get
an HttpWebRequest so that we can use the ServicePoint it has. No
need to get the host now.
* System/System.Net/WebConnection.cs: moved loading of the ssl stream
Type to its own method. Don't create a new ssl stream if we're reusing
the connection.
* System/System.Net/WebConnectionStream.cs: ensure the number of bytes
copied in ReadAll is the expected even if the dta from the server has
extra bytes.
Partial fix for bug #61218. Still problems with POST.
svn path=/branches/mono-1-0/mcs/; revision=31135
|
|
svn path=/trunk/mcs/; revision=30348
|
|
* SymmetricTransform.cs: The condition to keep a block is a little
more complex so it was moved as a private property.
svn path=/trunk/mcs/; revision=30223
|
|
* SymmetricTransform.cs: Reduce by one the number of block when
decrypting. This operation was in CryptoStream before but is only
required for decryption (which CryptoStream can't know).
Fix bug #60573.
svn path=/trunk/mcs/; revision=30199
|
|
svn path=/trunk/mcs/; revision=29087
|
|
* StrongName.cs: Synch with corlib (the new code isn't even compiled)
in Mono.Security assembly.
svn path=/trunk/mcs/; revision=29074
|
|
* X509Certificate.cs: Rethrow original exception when parsing X.509
certificates (inside a CryptographicException) so people can see if
their changes affects certificate decoding.
svn path=/trunk/mcs/; revision=28319
|
|
* SymmetricTransform.cs: Added missing exception handling in
TransformBlock and TransformFinalBlock.
svn path=/trunk/mcs/; revision=28259
|
|
* ARC4Managed.cs: Added missing exception handling in TransformBlock
and TransformFinalBlock.
svn path=/trunk/mcs/; revision=28258
|
|
* ARC4ManagedTest.cs: Added unit tests for exceptions coming from
ICryptoTransform interface (TransformBlock, TransformFinalBlock).
svn path=/trunk/mcs/; revision=28256
|
|
* SymmetricTransform.cs: Fixed possible integer overflow.
svn path=/trunk/mcs/; revision=28253
|
|
* PKCS7.cs: Added SignedData.VerifySignature(AsymmetricAlgorithm aa).
Added support for calculating signature from SignedData content (i.e.
when UseAuthenticatedAttributes is false). Added contentType to
AuthenticatedAttributes (when SignedData.UseAuthenticatedAttributes
is true).
svn path=/trunk/mcs/; revision=27662
|
|
* PKCS12.cs: Removed file exists check from SaveToFile(). Removed
Equals() and GetHashCode(). Clone the original iteration count.
svn path=/trunk/mcs/; revision=27166
|
|
* PKCS12Test.cs: Do not exceed line length limit.
svn path=/trunk/mcs/; revision=27145
|
|
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
- Added fix for better handling of exceptions when
building the X509 Certificate chain.
svn path=/trunk/mcs/; revision=27117
|
|
* PKCS12Test.cs: Added unit tests for the new methods.
svn path=/trunk/mcs/; revision=27094
|
|
* Mono.Security_test.dll.sources: Added unit tests for Mono.Security.
Protocol.Ntlm.MessabeBase and Mono.Security.ASN1Convert.
svn path=/trunk/mcs/; revision=27090
|
|
* PKCS8.cs: Fixed negative Version check.
* MD2Managed.cs: Added readonly to static array constants.
* MD4Managed.cs: Removed unrequired memory allocation in MD4Transform.
svn path=/trunk/mcs/; revision=27088
|
|
* ARC4ManagedTest.cs: Added missing unit tests for complete coverage.
Completed convertion to NUnit 2.
* CryptoConvertTest.cs: Added/modified unit tests for better coverage.
* MD2ManagedTest.cs: Added unit tests for better coverage.
* MD2Test.cs: Added unit tests for better coverage.
* MD4ManagedTest.cs: Added unit tests for better coverage.
* MD4Test.cs: Added unit tests for better coverage.
* PKCS8.cs: Added unit tests for better coverage.
svn path=/trunk/mcs/; revision=27087
|
|
* ChallengeResponseTest.cs: Added new unit tests for better coverage.
* MessageBaseTest.cs: New. Unit tests for the base abstract class.
* Type2MessageTest.cs: Added new unit tests for better coverage.
* Type3MessageTest.cs: Added new unit tests for better coverage.
svn path=/trunk/mcs/; revision=27086
|
|
* PrivateKeyTest.cs: Added new unit tests for better coverage.
* SoftwarePublisherCertificateTest.cs: Added new unit tests for better
coverage.
svn path=/trunk/mcs/; revision=27085
|
|
* ASN1ConvertTest.cs: New. Unit tests for ASN.1 convertions.
* StrongNameTest.cs: Added new unit tests for better coverage.
svn path=/trunk/mcs/; revision=27084
|
|
* PrivateKey.cs: Better exception reporting. Added globalization to
exceptions.
* SoftwarePublisherCertificate.cs: Better exception reporting. Added
globalization to exceptions.
svn path=/trunk/mcs/; revision=27083
|
|
* ASN1Convert.cs: Added better exceptions. Fixed bugs found by new
unit tests.
* StrongName.cs: Fixed GetBytes() when creating a new strongname.
Removed unrequired :base() from a constructor. Removed debugging
Console.WriteLine.
svn path=/trunk/mcs/; revision=27082
|
|
* Mono.Security.Protocol.Tls/Alert.cs:
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/CipherSuiteCollection.cs:
* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
* Mono.Security.Protocol.Tls/Context.cs:
* Mono.Security.Protocol.Tls/RecordProtocol.cs:
* Mono.Security.Protocol.Tls/SecurityCompressionType.cs:
* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
* Mono.Security.Protocol.Tls/SslServerStream.cs:
* Mono.Security.Protocol.Tls/TlsClientSettings.cs:
- Changes for fix FxCop Rules.
- Reworked CipherSuiteCollection class.
* Mono.Security.Protocol.Tls.Handshake/HandshakeMessage.cs:
- Changes for fix FxCop Rules.
* Mono.Security.Protocol.Tls/DebugHelper.cs:
- New class.
* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
* Mono.Security.Protocol.Tls/RecordProtocol.cs:
* Mono.Security.Protocol.Tls/Context.cs:
* Mono.Security.Protocol.Tls/Context.cs:
* Mono.Security.Protocol.Tls/SslCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
* Mono.Security.Protocol.Tls/SslClientStream.cs:
- Added debug capabilities.
* Mono.Security.Protocol.Tls/ServerContext.cs:
- Added initialization of requested CertificateTypes and CA's
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
- Modfied exception handling
- Added debug capabilities.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificateRequest.cs:
- Modify SSL implementation.
* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificateRequest.cs:
- Initial implementation.
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:
- Modfied exception handling
svn path=/trunk/mcs/; revision=26982
|
|
* SequentialSearchPrimeGeneratorBase.cs: Start the smallPrime vector at
10 (not 9) as 29 was just tested (more for correctness than speed gain).
svn path=/trunk/mcs/; revision=26902
|
|
* PrimalityTests.cs: Applying optimization from HAC section 4.50
(base == 2) for a 30% gain in primality testing (medium confidence).
svn path=/trunk/mcs/; revision=26901
|
|
* BigInteger.cs: Faster scan of smallPrimes in IsProbablePrime.
Commented the methods OddModTwoPow and EvenModTwoPow as they are broken
in some cases (well tested primes test case).
svn path=/trunk/mcs/; revision=26900
|
|
* PKCS12.cs: Fixed synchronization with X509CertificateCollection in
GetBytes ().
svn path=/trunk/mcs/; revision=26867
|
|
* PKCS12.cs: Added support for SafeBag attributes. Added support for
Clone() (ICloneable), Equals and GetHashCode. New methods:
- AddCertificate (X509Certificate cert)
- AddCertificate (X509Certificate cert, IDictionary attributes)
- RemoveCertificate (X509Certificate cert)
- RemoveCertificate (X509Certificate cert, IDictionary attributes)
- AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
- AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
- RemovePkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
- AddKeyBag (AsymmetricAlgorithm aa)
- AddKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
- RemoveKeyBag (AsymmetricAlgorithm aa)
- AsymmetricAlgorithm GetAsymmetricAlgorithm (IDictionary attrs)
- X509Certificate GetCertificate (IDictionary attrs)
- IDictionary GetAttributes (AsymmetricAlgorithm aa)
- IDictionary GetAttributes (X509Certificate cert)
svn path=/trunk/mcs/; revision=26756
|
|
* ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests.
svn path=/trunk/mcs/; revision=26631
|
|
* CryptoConvert.cs: Added support for truncated, but still valid, RSA
private key blob. Fix #57941 (couldn't sign with nunit key).
* RSAManaged.cs: Normalized the size of D when not present. This
allows us to output a compatible base64 representation of 1024bits 0.
svn path=/trunk/mcs/; revision=26511
|
|
* CryptoConvertTest.cs: Added test case where a strongname key pair
(RSA 1024 bits) was truncated in the last parameter (D) (i.e. the
private key) but saved by the use of CRT (Chinese Remainder Theorem).
svn path=/trunk/mcs/; revision=26508
|
|
* AssemblyInfo.cs: Now use mono.pub for Mono assemblies (not the ECMA key).
svn path=/trunk/mcs/; revision=26414
|
|
svn path=/trunk/mcs/; revision=26254
|
|
* AssemblyInfo.cs: Re-activated ClsCompliant(true).
svn path=/trunk/mcs/; revision=26170
|
|
* KeyUsageExtension.cs: Added missing INSIDE_CORLIB to enum.
svn path=/trunk/mcs/; revision=26154
|
|
* AuthenticodeBase.cs: Added missing (overwritten) #if INSIDE_CORLIB
directives to hides type and enum in corlib.
svn path=/trunk/mcs/; revision=26153
|
|
* SymmetricTransform.cs: Fixed bug when offset > 0 in destination
buffer.
svn path=/trunk/mcs/; revision=26139
|
|
svn path=/trunk/mcs/; revision=26087
|
|
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.
svn path=/trunk/mcs/; revision=25877
|
|
CSC)
svn path=/trunk/mcs/; revision=25869
|
|
* Mono.Security.dll.sources: Remove ITrustAnchors.cs and
TrustAnchors.cs from build.
svn path=/trunk/mcs/; revision=25868
|
|
* AssemblyInfo.cs: Add ClsCompliant(true). Remove RequestOptional.
svn path=/trunk/mcs/; revision=25867
|
|
* SoftwarePublisherCertificateTest.cs: Ajusted to changes in the
assembly.
svn path=/trunk/mcs/; revision=25866
|
|
* GcdBigTest.cs: Ajusted to changes in assembly.
* ModInverseBigTest.cs: Ajusted to changes in assembly.
* PrimeGenerationTest.cs: Ajusted to changes in assembly.
* PrimeTestingTest.cs: Ajusted to changes in assembly.
* SearchGeneratorTest.cs: Ajusted to changes in assembly.
svn path=/trunk/mcs/; revision=25865
|
|
* X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy.
* X520Attributes.cs: FxCop-ized. Added INSIDE_CORLIB.
svn path=/trunk/mcs/; revision=25864
|