Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / AsymmetricSignatureFormatter.cs / 1305376 / AsymmetricSignatureFormatter.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // AsymmetricSignatureFormatter.cs // namespace System.Security.Cryptography { using System; using System.Diagnostics.Contracts; [System.Runtime.InteropServices.ComVisible(true)] public abstract class AsymmetricSignatureFormatter { // // protected constructors // protected AsymmetricSignatureFormatter() { } // // public methods // abstract public void SetKey(AsymmetricAlgorithm key); abstract public void SetHashAlgorithm(String strName); public virtual byte[] CreateSignature(HashAlgorithm hash) { if (hash == null) throw new ArgumentNullException("hash"); Contract.EndContractBlock(); SetHashAlgorithm(hash.ToString()); return CreateSignature(hash.Hash); } abstract public byte[] CreateSignature(byte[] rgbHash); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkflowServiceBehavior.cs
- WorkflowControlEndpoint.cs
- DeferredReference.cs
- WebPartEditorCancelVerb.cs
- DtdParser.cs
- SelfIssuedAuthRSACryptoProvider.cs
- StylusPointProperty.cs
- BorderGapMaskConverter.cs
- EnumUnknown.cs
- SqlTypesSchemaImporter.cs
- ChineseLunisolarCalendar.cs
- DesignerActionList.cs
- PrivilegedConfigurationManager.cs
- WriteTimeStream.cs
- DSASignatureFormatter.cs
- CultureInfo.cs
- Internal.cs
- ColumnCollection.cs
- BufferedReadStream.cs
- WindowsFont.cs
- LinearQuaternionKeyFrame.cs
- BindStream.cs
- LifetimeServices.cs
- SiteMapHierarchicalDataSourceView.cs
- WindowsFormsHostAutomationPeer.cs
- Helpers.cs
- XmlDomTextWriter.cs
- PropertyOverridesTypeEditor.cs
- DispatchOperation.cs
- BamlWriter.cs
- VirtualizingStackPanel.cs
- TextBox.cs
- NotSupportedException.cs
- WebPartTransformerCollection.cs
- CmsInterop.cs
- _ShellExpression.cs
- EmptyCollection.cs
- processwaithandle.cs
- ReturnType.cs
- SizeF.cs
- IISUnsafeMethods.cs
- Binding.cs
- SqlError.cs
- VirtualPathProvider.cs
- XmlSchemaCompilationSettings.cs
- GridViewUpdatedEventArgs.cs
- ConnectionStringEditor.cs
- DialogResultConverter.cs
- SchemaImporterExtension.cs
- HttpHandlerActionCollection.cs
- DataGridViewCell.cs
- TextRunCache.cs
- XmlPreloadedResolver.cs
- PngBitmapEncoder.cs
- DesignerExtenders.cs
- GlyphRunDrawing.cs
- DataStreamFromComStream.cs
- SmtpNetworkElement.cs
- FirewallWrapper.cs
- RegistryKey.cs
- EntityWithKeyStrategy.cs
- DocumentViewerBase.cs
- EventPropertyMap.cs
- CacheMode.cs
- DrawingAttributeSerializer.cs
- QuestionEventArgs.cs
- SymLanguageVendor.cs
- XhtmlBasicControlAdapter.cs
- ColumnBinding.cs
- GenericRootAutomationPeer.cs
- ReferencedAssemblyResolver.cs
- TypeDependencyAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- DeclaredTypeValidator.cs
- GroupDescription.cs
- XmlCharacterData.cs
- ConfigurationStrings.cs
- WaitForChangedResult.cs
- DefaultEventAttribute.cs
- DbConnectionPool.cs
- ResourceReader.cs
- isolationinterop.cs
- ToolstripProfessionalRenderer.cs
- ZipIOFileItemStream.cs
- DesignerCategoryAttribute.cs
- ClientSession.cs
- MsmqIntegrationReceiveParameters.cs
- SctClaimSerializer.cs
- CorrelationKeyCalculator.cs
- RegexBoyerMoore.cs
- GridViewUpdateEventArgs.cs
- StateWorkerRequest.cs
- Underline.cs
- PersonalizationProviderHelper.cs
- LinkLabelLinkClickedEvent.cs
- TextProperties.cs
- UnsafeNativeMethods.cs
- SR.cs
- DescendentsWalker.cs
- SetterBase.cs