Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / Security / Cryptography / AsymmetricSignatureFormatter.cs / 1 / AsymmetricSignatureFormatter.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // AsymmetricSignatureFormatter.cs // namespace System.Security.Cryptography { using System; [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"); SetHashAlgorithm(hash.ToString()); return CreateSignature(hash.Hash); } abstract public byte[] CreateSignature(byte[] rgbHash); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // AsymmetricSignatureFormatter.cs // namespace System.Security.Cryptography { using System; [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"); 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
- Math.cs
- ProjectionPathBuilder.cs
- TableRowCollection.cs
- AsymmetricAlgorithm.cs
- ScriptControlManager.cs
- RIPEMD160.cs
- ContainsSearchOperator.cs
- RuleSettings.cs
- SafeLibraryHandle.cs
- DataGridClipboardHelper.cs
- StringBuilder.cs
- Symbol.cs
- Interlocked.cs
- DispatcherProcessingDisabled.cs
- Matrix3DConverter.cs
- Converter.cs
- CompareValidator.cs
- Vector3DConverter.cs
- EventDescriptor.cs
- WinFormsComponentEditor.cs
- ListParaClient.cs
- TargetException.cs
- FloaterBaseParaClient.cs
- SchemaImporterExtensionElementCollection.cs
- OdbcReferenceCollection.cs
- MarkupExtensionParser.cs
- Quad.cs
- RedirectionProxy.cs
- DataGridLengthConverter.cs
- ManifestResourceInfo.cs
- SafeEventHandle.cs
- UnsafeNativeMethods.cs
- SessionEndingEventArgs.cs
- serverconfig.cs
- ComponentSerializationService.cs
- ViewSimplifier.cs
- ConfigurationManagerInternal.cs
- PageContentAsyncResult.cs
- Material.cs
- Control.cs
- TypeSemantics.cs
- SchemaLookupTable.cs
- UndirectedGraph.cs
- HttpFormatExtensions.cs
- Point.cs
- ParsedAttributeCollection.cs
- PixelFormat.cs
- ReadOnlyDataSourceView.cs
- SimpleTextLine.cs
- SqlTriggerContext.cs
- xmlformatgeneratorstatics.cs
- DropDownList.cs
- ApplicationInfo.cs
- CodeDOMUtility.cs
- FlowLayoutSettings.cs
- HuffmanTree.cs
- FigureParagraph.cs
- ConfigXmlSignificantWhitespace.cs
- HtmlProps.cs
- OleDbCommandBuilder.cs
- SafeNativeMethods.cs
- DynamicField.cs
- GridViewColumn.cs
- DesignerRegionCollection.cs
- URLAttribute.cs
- SingleObjectCollection.cs
- TryExpression.cs
- XPathDocumentBuilder.cs
- MissingManifestResourceException.cs
- keycontainerpermission.cs
- PersistChildrenAttribute.cs
- QilUnary.cs
- Configuration.cs
- DBCSCodePageEncoding.cs
- Logging.cs
- BoolExpression.cs
- DataStreamFromComStream.cs
- ObjectPersistData.cs
- BindingSourceDesigner.cs
- Unit.cs
- ContentOperations.cs
- PresentationTraceSources.cs
- SystemIcmpV6Statistics.cs
- ContentDesigner.cs
- RTLAwareMessageBox.cs
- RouteUrlExpressionBuilder.cs
- RuntimeConfig.cs
- XmlRootAttribute.cs
- PersistenceProviderElement.cs
- ReadOnlyHierarchicalDataSource.cs
- IndexedWhereQueryOperator.cs
- AuthenticationManager.cs
- XhtmlConformanceSection.cs
- TrackingProfileManager.cs
- ViewManager.cs
- XmlSchemaSimpleTypeRestriction.cs
- DataGridColumnCollection.cs
- ModelTreeManager.cs
- IsolatedStorageFile.cs
- TrustManagerPromptUI.cs