* EncryptedXml.cs: Add proper null check inside methods.
* SignedXml.cs: GetIdElement returns null if either of its parameter
is null.
* Transform.cs: Comment compatibility-NRE in GetDigestedOutput.
* XmlDecryptionTransform.cs: IsTargetElement returns null if either
of its parameter is null.
* XmlDsigC14NTransform.cs: Comment compatibility-NRE in
GetDigestedOutput.
* XmlDsigExcC14NTransform.cs: Comment compatibility-NRE in
GetDigestedOutput.
[Found using Gendarme CheckParametersNullityInVisibleMethodsRule]
svn path=/trunk/mcs/; revision=117622
* XmlCanonicalizer.cs : fill prefixes which should be actually
written. It must be actually done before canonicalization (so
that node list filtering still takes spec-conformant effect).
* Transform.cs, XmlDsigC14NTransform.cs, XmlDsigExcC14NTransform.cs :
handle PropagatedNamespaces.
* XmlDsigC14NTransformTest.cs : added test for xmlns attribute
completion for input nodes, as well as test for
PropagatedNamespaces (ignored so far).
svn path=/trunk/mcs/; revision=74812
* KeyInfoClause.cs: Under 2.0 the ctor is protected.
* Transform.cs: Under 2.0 the ctor is protected. Enable the use of
XmlSecureResolver when the security manager is active.
svn path=/trunk/mcs/; revision=61337
* SignedInfo.cs: Added [ComVisible (false)] to new property.
* SignedXml.cs: Added [ComVisible (false)] to new properties and
methods.
* ReferenceList.cs: Fixed members signatures for beta2.
* Reference.cs: Added [ComVisible (false)] to new set_TransformChain.
* EncryptedType.cs: Fix compilation with EncryptionPropertyCollection
changes.
* DataObject.cs: Fix compilation warnings.
* EncryptedKey.cs: Fix compilation with ReferenceList and
EncryptionPropertyCollection changes.
* EncryptionProperties.cs: Class has been renamed to
EncryptionPropertyCollection.
* Transform.cs: Added [ComVisible (false)] to new properties and
methods.
* EncryptedXml.cs: Changed XmlEncRSA1_5Url to XmlEncRSA15Url.
* KeyInfoRetrievalMethod.cs: Added [ComVisible (false)] to Type
property.
* KeyInfoX509Data.cs: Added [ComVisible (false)] to AddSubjectKeyId
(string) method and implemented it.
* EncryptedData.cs: Changed EncryptionProperties to new
EncryptionPropertyCollection.
* XmlDsigC14NTransform.cs: Added [ComVisible (false)] to
GetDigestedOutput method and added a basic implementation.
* X509IssuerSerial.cs: IssuerName and SerialNumber are now properties.
svn path=/trunk/mcs/; revision=43514
* EncryptedXml.cs: Add support for RSA for key formatting
* Reference.cs: Include XmlDecryptionTransform
* SignedXml.cs:
Set the EncryptedKey on the XmlDecryptionTransform when
loading XML
* XmlDecryptionTransform.cs:
Clean up decryption transformation to work without ugly hack.
* XmlDsigExcC14NTransform.cs XmlDsigExcC14NWithCommentsTransform.cs:
Implement this class based on XmlDsigC14N
* XmlSignature.cs: Add namespaces for various classes.
* KeyInfoEncryptedKey.cs SymmetricKeyWrap.cs:
Remove TODO attributes from implemented methods.
* KeyInfoName.cs: Put #if NET_2_0 markers in
* Transform.cs: Implement GetDigestedOutput
svn path=/trunk/mcs/; revision=33321
* SignedXml.cs,
Transform.cs : code cleanup. #if !NET_1_0 -> #if NET_1_1.
* XmlDsigBase64Transform.cs : Should not output the content of the
selected element nodes. Put text content only those text nodes are
in the node list.
* XmlDsigEnvelopedSignatureTransform.cs : removed MonoTODO.
* XmlDsigXsltTransform.cs : Use XmlResolver to load document and
to transform. Throw null reference exception explicitly when
the input was not loaded.
svn path=/trunk/mcs/; revision=26731
* KeyInfo.cs :
Fixed LoadXml() to skip text nodes as MS.NET does.
Uncommented out RSAKeyValue.
* Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
that incorrectly acquires descendants. Throw CryptographicException
if required elements were not found.
* Transform.cs : added internal GetResolver().
* XmlDsigXPathTransform.cs,
XmlDsigXsltTransform.cs : use XmlResolver.
svn path=/trunk/mcs/; revision=23711
* Reference.cs: Added LoadInnerXml to transforms. Removed unused
variable.
* Transform.cs: Import GetInnerXml in GetXml.
* XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
allocations.
* XmlDsigC14NTransform.cs: Added Stream support to LoadInput
* XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath
expression and LoadInput. It nows match MS implementation but doesn't
work like I think it should (but neither is MS implementation).
svn path=/trunk/mcs/; revision=22985
* SignedXml.cs: Fixed class signature (for 1.1+) by adding public to
Resolver property.
* Transform.cs: Fixed class signature (for 1.1+) by adding public to
Resolver property.
svn path=/trunk/mcs/; revision=21962
* SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
documentation (no public declaration).
* Transform.cs: Added property XmlResolver Resolver as per framework 1.1
documentation (no public declaration).
svn path=/trunk/mcs/; revision=14454
* DSAKeyValue.cs: New XML generation is commented. Old string technique
did a better job to match MS implementation.
* DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
* RSAKeyValue.cs: New XML generation is commented. Old string technique
did a better job to match MS implementation.
* Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
* Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
* SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
* SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
* Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
* XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
* XmlDsigXPathTransform.cs: Added missing Algorithm URL.
* XmlSignature.cs: New. Private contants (construct similar to WSE).
svn path=/trunk/mcs/; revision=12100
* KeyInfo.cs: Changed some protected declaration to private.
* KeyInfoName.cs: Changed some protected declaration to private.
* KeyInfoNode.cs: Changed some protected declaration to private.
* KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
* KeyInfoX509Data.cs: Changed some protected declaration to private.
* Transform.cs: Changed some protected declaration to private.
* XmlDsigBase64Transform.cs: Changed some protected declaration to private.
* XmlDsigC14NTransform.cs: Changed some protected declaration to private.
* XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
* XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
* XmlDsigXPathTransform.cs: Changed some protected declaration to private.
* XmlDsigXsltTransform.cs: Changed some protected declaration to private.
svn path=/trunk/mcs/; revision=10636