Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / AsymmetricSignatureDeformatter.cs / 1305376 / AsymmetricSignatureDeformatter.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // AsymmetricSignatureDeformatter.cs // namespace System.Security.Cryptography { using System.Security; using System; using System.Diagnostics.Contracts; [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"); Contract.EndContractBlock(); 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LayoutTable.cs
- StaticTextPointer.cs
- PartitionedDataSource.cs
- LocalizationComments.cs
- ClassicBorderDecorator.cs
- TrustSection.cs
- CodeSnippetExpression.cs
- TypeUtil.cs
- DefaultHttpHandler.cs
- DataColumnChangeEvent.cs
- BridgeDataRecord.cs
- CodeCatchClause.cs
- cryptoapiTransform.cs
- FixedDocument.cs
- XsdDateTime.cs
- NamedPipeChannelFactory.cs
- X509ThumbprintKeyIdentifierClause.cs
- MachineKeyConverter.cs
- RemoteWebConfigurationHostStream.cs
- ReflectEventDescriptor.cs
- PreservationFileReader.cs
- SerializationObjectManager.cs
- DataBindEngine.cs
- Timer.cs
- Odbc32.cs
- InstancePersistence.cs
- DBSchemaRow.cs
- COM2TypeInfoProcessor.cs
- PkcsUtils.cs
- ColumnResizeAdorner.cs
- GridEntryCollection.cs
- ListItemDetailViewAttribute.cs
- ReferenceEqualityComparer.cs
- FixedTextContainer.cs
- FtpRequestCacheValidator.cs
- DefaultParameterValueAttribute.cs
- WebResponse.cs
- TextParagraph.cs
- FixedFindEngine.cs
- RecordManager.cs
- MaterialCollection.cs
- CrossContextChannel.cs
- EntityDataSourceColumn.cs
- ComponentSerializationService.cs
- StringUtil.cs
- XamlStackWriter.cs
- XmlCharType.cs
- BinHexEncoder.cs
- MobileContainerDesigner.cs
- ButtonStandardAdapter.cs
- TextAnchor.cs
- HighlightVisual.cs
- LayoutManager.cs
- OpCopier.cs
- ChannelSettingsElement.cs
- HostingEnvironmentException.cs
- MenuAutomationPeer.cs
- PerspectiveCamera.cs
- VirtualDirectoryMapping.cs
- ImageMapEventArgs.cs
- CryptoApi.cs
- ResourceContainer.cs
- basevalidator.cs
- OutputScopeManager.cs
- EditorZone.cs
- HtmlDocument.cs
- QueryGeneratorBase.cs
- TableCellCollection.cs
- DynamicAttribute.cs
- COM2AboutBoxPropertyDescriptor.cs
- HttpListenerResponse.cs
- DataGridViewRowStateChangedEventArgs.cs
- CodeTypeParameterCollection.cs
- ChannelTokenTypeConverter.cs
- StartFileNameEditor.cs
- ColumnHeaderCollectionEditor.cs
- MailHeaderInfo.cs
- RayHitTestParameters.cs
- StorageInfo.cs
- MasterPage.cs
- SizeAnimation.cs
- Button.cs
- FormsAuthenticationConfiguration.cs
- DBAsyncResult.cs
- Lasso.cs
- NestPullup.cs
- EnlistmentState.cs
- ObjectViewEntityCollectionData.cs
- mediapermission.cs
- BaseCollection.cs
- CompatibleComparer.cs
- ImageCodecInfo.cs
- SqlFunctionAttribute.cs
- validationstate.cs
- CFStream.cs
- ToolStripRendererSwitcher.cs
- SafeReversePInvokeHandle.cs
- SqlDataSourceStatusEventArgs.cs
- TypeUnloadedException.cs
- SafeFileMappingHandle.cs