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
- BooleanStorage.cs
- nulltextnavigator.cs
- XmlSchemaAll.cs
- DNS.cs
- SmtpNtlmAuthenticationModule.cs
- QuaternionRotation3D.cs
- odbcmetadatacolumnnames.cs
- ManipulationDelta.cs
- Base64Decoder.cs
- baseaxisquery.cs
- AssemblyBuilder.cs
- CrossContextChannel.cs
- PhysicalAddress.cs
- _SslSessionsCache.cs
- LoginName.cs
- FontCacheUtil.cs
- WebInvokeAttribute.cs
- ConfigurationManagerInternal.cs
- CryptographicAttribute.cs
- FieldAccessException.cs
- CodeDOMUtility.cs
- SelectedDatesCollection.cs
- SessionPageStateSection.cs
- BindableTemplateBuilder.cs
- UriTemplateHelpers.cs
- TreeNodeCollection.cs
- Main.cs
- XsdBuilder.cs
- TransformerInfoCollection.cs
- PerformanceCounterLib.cs
- GridViewPageEventArgs.cs
- StylusPlugin.cs
- CodeDOMProvider.cs
- PropertyMapper.cs
- MetadataPropertyCollection.cs
- GacUtil.cs
- RichTextBoxAutomationPeer.cs
- SetIterators.cs
- LinqDataSourceStatusEventArgs.cs
- ListBox.cs
- ITextView.cs
- ReadOnlyDataSource.cs
- StringComparer.cs
- InputLanguageCollection.cs
- Application.cs
- OdbcDataAdapter.cs
- DetailsViewInsertedEventArgs.cs
- ListViewSelectEventArgs.cs
- PermissionRequestEvidence.cs
- mactripleDES.cs
- GridViewDeleteEventArgs.cs
- PixelShader.cs
- DurableDispatcherAddressingFault.cs
- GenericRootAutomationPeer.cs
- ConfigurationManagerHelper.cs
- RandomNumberGenerator.cs
- SqlOuterApplyReducer.cs
- InternalRelationshipCollection.cs
- TableLayoutPanelDesigner.cs
- LinearGradientBrush.cs
- FileUtil.cs
- XmlSchemaObjectCollection.cs
- ComponentManagerBroker.cs
- xmlformatgeneratorstatics.cs
- Transform3DCollection.cs
- Knowncolors.cs
- BuilderPropertyEntry.cs
- PropertyChangeTracker.cs
- CancelRequestedRecord.cs
- ExportOptions.cs
- InstancePersistenceContext.cs
- StrokeCollection.cs
- SByteConverter.cs
- UniqueContractNameValidationBehavior.cs
- BamlRecords.cs
- RectangleConverter.cs
- ConfigViewGenerator.cs
- UpdatePanel.cs
- Rules.cs
- BindingManagerDataErrorEventArgs.cs
- DataTableMappingCollection.cs
- ItemList.cs
- IndexingContentUnit.cs
- ParameterRefs.cs
- ElementNotAvailableException.cs
- ZipIOFileItemStream.cs
- RegionData.cs
- OdbcDataAdapter.cs
- FocusChangedEventArgs.cs
- DoubleStorage.cs
- DBSchemaTable.cs
- CacheEntry.cs
- XmlSchemaAttributeGroupRef.cs
- ScrollItemPattern.cs
- QueryOperationResponseOfT.cs
- TypeConverterValueSerializer.cs
- FormatConvertedBitmap.cs
- DateTime.cs
- AbstractSvcMapFileLoader.cs
- jithelpers.cs