system\security\cryptography\xml\reference.cs (20)
187throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_DigestMethodRequired"));
195throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_DigestValueRequired"));
214throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference");
225throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/Transforms");
230throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/Transforms");
236throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/Transforms");
239throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/Transforms");
245throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
249throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
278throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/DigestMethod");
282throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/DigestMethod");
287throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/DigestValue");
291throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/DigestValue");
296throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference");
323throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_CreateHashAlgorithmFailed"));
355throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"), m_uri));
369throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"),m_uri));
398throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidReference"));
429throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UriNotResolved"), m_uri);
438throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UriNotResolved"), m_uri);
system\security\cryptography\xml\signedinfo.cs (11)
98throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_CreateTransformFailed"), this.CanonicalizationMethod));
161throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_SignatureMethodRequired"));
177throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_ReferenceElementRequired"));
194throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo");
203throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo");
208throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/CanonicalizationMethod");
213throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/CanonicalizationMethod");
221throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/SignatureMethod");
226throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/SignatureMethod");
240throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/Reference");
253throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo");
system\security\cryptography\xml\SignedXmlDebugLog.cs (40)
283SecurityResources.GetResourceString("Log_BeginCanonicalization"),
294SecurityResources.GetResourceString("Log_CanonicalizationSettings"),
317SecurityResources.GetResourceString("Log_CheckSignatureFormat"),
336SecurityResources.GetResourceString("Log_CheckSignedInfo"),
354SecurityResources.GetResourceString("Log_BeginSignatureComputation"));
359SecurityResources.GetResourceString("Log_XmlContext"),
381SecurityResources.GetResourceString("Log_BeginSignatureVerification"));
386SecurityResources.GetResourceString("Log_XmlContext"),
408SecurityResources.GetResourceString("Log_CanonicalizedOutput"),
427string logMessage = result ? SecurityResources.GetResourceString("Log_FormatValidationSuccessful") :
428SecurityResources.GetResourceString("Log_FormatValidationNotSuccessful");
454SecurityResources.GetResourceString("Log_UnsafeCanonicalizationMethod"),
499SecurityResources.GetResourceString("Log_UnsafeTransformMethod"),
519SecurityResources.GetResourceString("Log_PropagatingNamespace"),
533SecurityResources.GetResourceString("Log_NoNamespacesPropagated"));
565SecurityResources.GetResourceString("Log_TransformedReferenceContents"),
601SecurityResources.GetResourceString("Log_SigningAsymmetric"),
627SecurityResources.GetResourceString("Log_SigningHmac"),
650SecurityResources.GetResourceString("Log_SigningReference"),
673SecurityResources.GetResourceString("Log_VerificationFailed"),
694string resource = verified ? SecurityResources.GetResourceString("Log_VerificationWithKeySuccessful") :
695SecurityResources.GetResourceString("Log_VerificationWithKeyNotSuccessful");
719SecurityResources.GetResourceString("Log_KeyUsages"),
742SecurityResources.GetResourceString("Log_VerifyReference"),
775SecurityResources.GetResourceString("Log_ReferenceHash"),
814SecurityResources.GetResourceString("Log_VerifySignedInfoAsymmetric"),
827SecurityResources.GetResourceString("Log_ActualHashValue"),
832SecurityResources.GetResourceString("Log_RawSignatureValue"),
855SecurityResources.GetResourceString("Log_VerifySignedInfoHmac"),
865SecurityResources.GetResourceString("Log_ActualHashValue"),
870SecurityResources.GetResourceString("Log_RawSignatureValue"),
889SecurityResources.GetResourceString("Log_BuildX509Chain"),
900SecurityResources.GetResourceString("Log_RevocationMode"),
905SecurityResources.GetResourceString("Log_RevocationFlag"),
910SecurityResources.GetResourceString("Log_VerificationFlag"),
915SecurityResources.GetResourceString("Log_VerificationTime"),
920SecurityResources.GetResourceString("Log_UrlTimeout"),
930SecurityResources.GetResourceString("Log_X509ChainError"),
945chainElements.Append(SecurityResources.GetResourceString("Log_CertificateChain"));
973SecurityResources.GetResourceString("Log_SignedXmlRecursionLimit"),
system\security\cryptography\xml\transform.cs (45)
65throw new ArgumentException( SecurityResources.GetResourceString("ArgumentOutOfRange_Index"), "index");
96throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
108throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
120throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
123throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
141throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
174throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Transforms");
182throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
393throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
414throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "obj");
424throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
488throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
494throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
512throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "obj");
534throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
575throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
653throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
683throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
696throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
713throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
719throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
811throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
848throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
857throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
866throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
933throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
974throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1005throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_EnvelopedSignatureRequiresContext"));
1016throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_EnvelopedSignatureRequiresContext"));
1033throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_EnvelopedSignatureRequiresContext"));
1086if (_inputNodeList != null) throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
1089throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
1170throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1179throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UriRequired"));
1181throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1187throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1269throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_MissingDecryptionKey"));
1324throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
1388throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_XrmlUnableToDecryptGrant"));
1428throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
1436throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1443throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_XrmlMissingContext"));
1459throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_XrmlMissingIssuer"));
1468throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_XrmlMissingLicence"));
1486throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Xml_XrmlMissingIRelDecryptor"));