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
- DesignerValidationSummaryAdapter.cs
- ProtectedConfiguration.cs
- Compilation.cs
- EventlogProvider.cs
- OdbcPermission.cs
- BigInt.cs
- ComAdminWrapper.cs
- FixedPageStructure.cs
- ResourceExpressionBuilder.cs
- DataGrid.cs
- XamlReader.cs
- EventlogProvider.cs
- ThemeDirectoryCompiler.cs
- GetLedgerEntryForRecipientRequest.cs
- EnumerableValidator.cs
- Interlocked.cs
- TiffBitmapDecoder.cs
- TextElementCollection.cs
- SimpleTypesSurrogate.cs
- InputChannelBinder.cs
- IconHelper.cs
- HGlobalSafeHandle.cs
- FixUpCollection.cs
- ViewBox.cs
- UIElementCollection.cs
- oledbmetadatacolumnnames.cs
- ToolStripControlHost.cs
- TypeTypeConverter.cs
- WindowsListViewGroupHelper.cs
- XmlUrlEditor.cs
- ChangeProcessor.cs
- ControlPaint.cs
- SamlAssertion.cs
- MessageVersionConverter.cs
- BypassElement.cs
- FilteredAttributeCollection.cs
- TaskFormBase.cs
- RightsManagementUser.cs
- ObjectReferenceStack.cs
- HttpRawResponse.cs
- NavigationHelper.cs
- HuffmanTree.cs
- SymmetricCryptoHandle.cs
- Rect.cs
- UpDownBaseDesigner.cs
- SynchronousReceiveElement.cs
- SafeRightsManagementEnvironmentHandle.cs
- SQLUtility.cs
- ApplicationDirectory.cs
- TypeGeneratedEventArgs.cs
- PassportIdentity.cs
- MaskInputRejectedEventArgs.cs
- ControlIdConverter.cs
- AttachedPropertyMethodSelector.cs
- Button.cs
- BatchWriter.cs
- ModuleBuilderData.cs
- FileEnumerator.cs
- EncoderBestFitFallback.cs
- FixedTextPointer.cs
- XmlDocumentSerializer.cs
- LightweightCodeGenerator.cs
- XmlWriter.cs
- sqlnorm.cs
- PageThemeBuildProvider.cs
- ServiceContractViewControl.Designer.cs
- CacheSection.cs
- ParseHttpDate.cs
- DeclarativeCatalogPartDesigner.cs
- EntityDataSourceChangedEventArgs.cs
- DesignerActionList.cs
- XmlNamespaceMapping.cs
- XDeferredAxisSource.cs
- DbDataSourceEnumerator.cs
- FileUtil.cs
- XmlFormatExtensionAttribute.cs
- JsonCollectionDataContract.cs
- StylusTip.cs
- Metadata.cs
- InputLanguageManager.cs
- XmlSchemaSimpleTypeList.cs
- PeerSecurityManager.cs
- InkCanvas.cs
- RefreshEventArgs.cs
- XmlAttributeProperties.cs
- SystemKeyConverter.cs
- Type.cs
- BitmapPalettes.cs
- UiaCoreTypesApi.cs
- DataGridCell.cs
- HandleExceptionArgs.cs
- EventManager.cs
- ArgumentOutOfRangeException.cs
- ScriptReference.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- StickyNote.cs
- ControlBuilder.cs
- DataGridAddNewRow.cs
- NetMsmqSecurityElement.cs
- ErrorReporting.cs