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
- CookieProtection.cs
- ExpressionTextBox.xaml.cs
- FunctionImportMapping.cs
- PropertyState.cs
- HostingEnvironmentSection.cs
- HtmlUtf8RawTextWriter.cs
- HyperLinkColumn.cs
- ReflectPropertyDescriptor.cs
- GeneralTransformGroup.cs
- XmlSchemaInfo.cs
- X509RecipientCertificateClientElement.cs
- _CacheStreams.cs
- ObjectQuery_EntitySqlExtensions.cs
- XhtmlMobileTextWriter.cs
- SplayTreeNode.cs
- ViewCellRelation.cs
- ErrorFormatterPage.cs
- updateconfighost.cs
- HttpModulesSection.cs
- GeometryCombineModeValidation.cs
- XPathNodeHelper.cs
- FindResponse.cs
- ScrollItemPattern.cs
- FormParameter.cs
- PageCatalogPart.cs
- HtmlHead.cs
- __ComObject.cs
- BindingManagerDataErrorEventArgs.cs
- DataPagerField.cs
- ThreadPool.cs
- ToolTipService.cs
- XmlQueryRuntime.cs
- RequestCachePolicyConverter.cs
- DesignerCommandAdapter.cs
- MethodBuilder.cs
- HybridDictionary.cs
- DataBinding.cs
- Event.cs
- AttachedAnnotation.cs
- MasterPageCodeDomTreeGenerator.cs
- IISMapPath.cs
- WindowsToolbarAsMenu.cs
- TransformerInfo.cs
- InkPresenter.cs
- _ConnectStream.cs
- NetworkCredential.cs
- DecimalConverter.cs
- SimpleApplicationHost.cs
- WorkflowTimerService.cs
- Point3DIndependentAnimationStorage.cs
- PolicyValidationException.cs
- Lease.cs
- Camera.cs
- DisposableCollectionWrapper.cs
- followingsibling.cs
- PersistenceTypeAttribute.cs
- HtmlTextBoxAdapter.cs
- FastEncoder.cs
- Hex.cs
- XmlAnyElementAttribute.cs
- TableHeaderCell.cs
- MULTI_QI.cs
- ContainerParagraph.cs
- hresults.cs
- ElementNotAvailableException.cs
- DocumentCollection.cs
- SplitterCancelEvent.cs
- StandardTransformFactory.cs
- FullTextBreakpoint.cs
- CodeGenHelper.cs
- EventLogLink.cs
- WebBrowserNavigatingEventHandler.cs
- PrinterResolution.cs
- ConfigurationLocation.cs
- WindowsAuthenticationEventArgs.cs
- BitConverter.cs
- LinkDescriptor.cs
- BCLDebug.cs
- DataGridViewTopLeftHeaderCell.cs
- XmlHierarchicalDataSourceView.cs
- SecurityPermission.cs
- InstanceStoreQueryResult.cs
- PaperSource.cs
- ProcessModelInfo.cs
- ArraySortHelper.cs
- WebConfigurationHost.cs
- SqlNotificationRequest.cs
- ImageAttributes.cs
- BaseValidator.cs
- VSWCFServiceContractGenerator.cs
- Vector3DValueSerializer.cs
- BreadCrumbTextConverter.cs
- WebPartConnectionsCancelVerb.cs
- WindowsSpinner.cs
- IISUnsafeMethods.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ClientCredentialsElement.cs
- GroupBox.cs
- PointLightBase.cs
- DesignerActionVerbList.cs