Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Security / Cryptography / AsymmetricSignatureDeformatter.cs / 1 / AsymmetricSignatureDeformatter.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // AsymmetricSignatureDeformatter.cs // namespace System.Security.Cryptography { using System.Security; using System; [System.Runtime.InteropServices.ComVisible(true)] public abstract class AsymmetricSignatureDeformatter { // // protected constructors // protected AsymmetricSignatureDeformatter() { } // // public methods // abstract public void SetKey(AsymmetricAlgorithm key); abstract public void SetHashAlgorithm(String strName); public virtual bool VerifySignature(HashAlgorithm hash, byte[] rgbSignature) { if (hash == null) throw new ArgumentNullException("hash"); SetHashAlgorithm(hash.ToString()); return VerifySignature(hash.Hash, rgbSignature); } abstract public bool VerifySignature(byte[] rgbHash, byte[] rgbSignature); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NumericUpDown.cs
- ScriptManager.cs
- DetailsView.cs
- RowParagraph.cs
- XmlDictionaryReaderQuotasElement.cs
- SettingsProperty.cs
- Int32RectValueSerializer.cs
- DetailsViewUpdatedEventArgs.cs
- OracleBFile.cs
- MulticastOption.cs
- DataContractJsonSerializer.cs
- TraceContextRecord.cs
- QilScopedVisitor.cs
- FileClassifier.cs
- XmlSchemaGroupRef.cs
- CustomCategoryAttribute.cs
- ColumnResizeAdorner.cs
- CodeCastExpression.cs
- ClientTargetCollection.cs
- SByteStorage.cs
- SmtpTransport.cs
- WSSecurityPolicy11.cs
- ItemCheckedEvent.cs
- SingleObjectCollection.cs
- TileModeValidation.cs
- SQLBinaryStorage.cs
- XmlDocument.cs
- TextDecorationUnitValidation.cs
- httpstaticobjectscollection.cs
- XmlReader.cs
- TextTreeRootTextBlock.cs
- DataBindingHandlerAttribute.cs
- Int16Storage.cs
- RedistVersionInfo.cs
- InputLangChangeRequestEvent.cs
- ResourceLoader.cs
- ObjectStateFormatter.cs
- SoapProtocolReflector.cs
- COM2PropertyBuilderUITypeEditor.cs
- ViewValidator.cs
- RectangleGeometry.cs
- EdmPropertyAttribute.cs
- PageContent.cs
- HandleInitializationContext.cs
- ImpersonationContext.cs
- LateBoundBitmapDecoder.cs
- TreeViewHitTestInfo.cs
- NavigationWindowAutomationPeer.cs
- GeometryGroup.cs
- DetailsViewInsertEventArgs.cs
- TimersDescriptionAttribute.cs
- HMAC.cs
- KeyTime.cs
- OutKeywords.cs
- UrlMappingsModule.cs
- Type.cs
- DependencyObject.cs
- OutputCacheSection.cs
- BounceEase.cs
- EventToken.cs
- StrokeCollectionDefaultValueFactory.cs
- Vector3D.cs
- Propagator.ExtentPlaceholderCreator.cs
- HtmlPanelAdapter.cs
- WebPartManagerInternals.cs
- DbConnectionPoolIdentity.cs
- ErrorTableItemStyle.cs
- ProtocolState.cs
- BamlLocalizableResource.cs
- SqlAliaser.cs
- InlinedLocationReference.cs
- WriteTimeStream.cs
- DockingAttribute.cs
- Pen.cs
- smtppermission.cs
- GrowingArray.cs
- MatrixKeyFrameCollection.cs
- SettingsProviderCollection.cs
- LocalizedNameDescriptionPair.cs
- GridViewUpdateEventArgs.cs
- SymbolUsageManager.cs
- SqlRetyper.cs
- CompiledRegexRunner.cs
- SupportsEventValidationAttribute.cs
- CompilationUtil.cs
- WebAdminConfigurationHelper.cs
- SingleTagSectionHandler.cs
- PropertyNames.cs
- DataGridCaption.cs
- ProcessThreadDesigner.cs
- BaseProcessor.cs
- PartBasedPackageProperties.cs
- SearchForVirtualItemEventArgs.cs
- ConfigurationLoaderException.cs
- smtppermission.cs
- ObjectDataSourceFilteringEventArgs.cs
- ImageCodecInfo.cs
- GB18030Encoding.cs
- SimpleWebHandlerParser.cs
- TemplateBaseAction.cs