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
- VScrollProperties.cs
- ImpersonationContext.cs
- SecurityRuntime.cs
- SafeBitVector32.cs
- Camera.cs
- DataServiceKeyAttribute.cs
- HtmlEmptyTagControlBuilder.cs
- LeafCellTreeNode.cs
- PageCodeDomTreeGenerator.cs
- ListItemConverter.cs
- Metafile.cs
- UIElementAutomationPeer.cs
- QueryOutputWriter.cs
- PerformanceCounterPermissionAttribute.cs
- Boolean.cs
- GridToolTip.cs
- MetadataArtifactLoaderCompositeFile.cs
- JsonDataContract.cs
- DbConnectionPoolGroup.cs
- DispatcherHookEventArgs.cs
- CharacterBufferReference.cs
- UnsafeNativeMethods.cs
- ServiceModelSecurityTokenRequirement.cs
- HttpCookie.cs
- GridView.cs
- SeekStoryboard.cs
- SqlRowUpdatedEvent.cs
- Hyperlink.cs
- PathData.cs
- LambdaCompiler.Generated.cs
- InvalidateEvent.cs
- CompilerErrorCollection.cs
- FirstMatchCodeGroup.cs
- XmlCDATASection.cs
- UserControlCodeDomTreeGenerator.cs
- ContainerActivationHelper.cs
- PropertyKey.cs
- dbenumerator.cs
- OleDbTransaction.cs
- IImplicitResourceProvider.cs
- Section.cs
- XmlResolver.cs
- DragAssistanceManager.cs
- ObjectStateManagerMetadata.cs
- ListMarkerSourceInfo.cs
- CodeTypeDeclarationCollection.cs
- DataSetUtil.cs
- PerformanceCounterLib.cs
- CopyAttributesAction.cs
- ObjectFullSpanRewriter.cs
- XmlHierarchyData.cs
- WebBrowserProgressChangedEventHandler.cs
- WindowsToolbarItemAsMenuItem.cs
- PropertyDescriptorCollection.cs
- PageEventArgs.cs
- PropertyNames.cs
- UniqueConstraint.cs
- HijriCalendar.cs
- Classification.cs
- SemanticKeyElement.cs
- DetectEofStream.cs
- TdsRecordBufferSetter.cs
- XPathNodeList.cs
- RawMouseInputReport.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- UrlMappingsModule.cs
- DataSourceControlBuilder.cs
- SettingsPropertyValue.cs
- FormsAuthenticationTicket.cs
- LinqDataSourceStatusEventArgs.cs
- HttpCookiesSection.cs
- XhtmlBasicCommandAdapter.cs
- odbcmetadatacolumnnames.cs
- SafeSecurityHandles.cs
- EmbeddedMailObject.cs
- Trigger.cs
- CompilerState.cs
- ScriptManagerProxy.cs
- ActivationWorker.cs
- MethodMessage.cs
- GetPageNumberCompletedEventArgs.cs
- SelectionWordBreaker.cs
- BaseAsyncResult.cs
- ArrangedElementCollection.cs
- WinFormsSecurity.cs
- SrgsGrammar.cs
- SafeRegistryHandle.cs
- DataGridCell.cs
- CollectionViewGroupRoot.cs
- ApplicationId.cs
- BCryptHashAlgorithm.cs
- DbConnectionPoolIdentity.cs
- XPathCompileException.cs
- VirtualPathUtility.cs
- Preprocessor.cs
- invalidudtexception.cs
- PageCache.cs
- ToolStripMenuItem.cs
- SessionStateContainer.cs
- WinEventHandler.cs