Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Privilege.cs
- Resources.Designer.cs
- Odbc32.cs
- InheritanceRules.cs
- XmlHierarchicalDataSourceView.cs
- MailSettingsSection.cs
- ArraySegment.cs
- ListViewItemMouseHoverEvent.cs
- GeneralTransformGroup.cs
- ImagingCache.cs
- EventLogPropertySelector.cs
- BindingElement.cs
- DataListGeneralPage.cs
- OdbcEnvironment.cs
- NotifyParentPropertyAttribute.cs
- BezierSegment.cs
- NamespaceListProperty.cs
- AttributeQuery.cs
- DrawingCollection.cs
- EpmTargetPathSegment.cs
- RemoteWebConfigurationHostStream.cs
- ExtensionQuery.cs
- DetailsViewPageEventArgs.cs
- EasingFunctionBase.cs
- Int64.cs
- DialogDivider.cs
- TimersDescriptionAttribute.cs
- Command.cs
- FixUpCollection.cs
- ExpressionBuilder.cs
- LostFocusEventManager.cs
- HtmlInputImage.cs
- shaper.cs
- ValueTable.cs
- StackBuilderSink.cs
- BufferModeSettings.cs
- TextStore.cs
- JsonServiceDocumentSerializer.cs
- StateElement.cs
- IgnoreFileBuildProvider.cs
- MatrixUtil.cs
- SizeAnimationBase.cs
- TransformProviderWrapper.cs
- securestring.cs
- ColumnBinding.cs
- SortKey.cs
- IntSumAggregationOperator.cs
- EventEntry.cs
- WriterOutput.cs
- TextClipboardData.cs
- PropertyGridView.cs
- Table.cs
- DataGridAutoFormat.cs
- WaitHandleCannotBeOpenedException.cs
- PresentationAppDomainManager.cs
- EngineSite.cs
- WindowsServiceElement.cs
- EventBindingService.cs
- BufferBuilder.cs
- IntegerValidatorAttribute.cs
- ToolTipAutomationPeer.cs
- AttributeCollection.cs
- XPathNodePointer.cs
- EventHandlersStore.cs
- ObjectListFieldCollection.cs
- ClientSettingsProvider.cs
- StorageSetMapping.cs
- DataMisalignedException.cs
- NumericPagerField.cs
- DBCSCodePageEncoding.cs
- XmlCharCheckingReader.cs
- SettingsBindableAttribute.cs
- RuleSetReference.cs
- SerialErrors.cs
- SQLConvert.cs
- XmlSchemaValidator.cs
- MaskedTextBoxTextEditor.cs
- BamlRecords.cs
- Merger.cs
- SchemaContext.cs
- RuntimeHelpers.cs
- ScriptReference.cs
- SelectedCellsCollection.cs
- DateTimeUtil.cs
- SBCSCodePageEncoding.cs
- Clause.cs
- ProfileSettingsCollection.cs
- ConnectionStringsSection.cs
- securestring.cs
- RemotingServices.cs
- XmlSchemaInclude.cs
- GregorianCalendarHelper.cs
- FrameworkContentElement.cs
- SetIndexBinder.cs
- TemplateBuilder.cs
- SkinBuilder.cs
- ClientRolePrincipal.cs
- TileBrush.cs
- SqlStatistics.cs
- GenericPrincipal.cs