Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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); } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathBinder.cs
- CodeSnippetTypeMember.cs
- SetterBase.cs
- AsyncStreamReader.cs
- BitmapDecoder.cs
- LocalizationParserHooks.cs
- TemplateModeChangedEventArgs.cs
- BamlLocalizer.cs
- ArgumentNullException.cs
- AppSettingsReader.cs
- CustomCredentialPolicy.cs
- WorkflowApplication.cs
- webproxy.cs
- TransportElement.cs
- DynamicActionMessageFilter.cs
- BamlWriter.cs
- propertytag.cs
- ComponentChangedEvent.cs
- WebSysDescriptionAttribute.cs
- ColumnResizeUndoUnit.cs
- TypographyProperties.cs
- LiteralText.cs
- TransformConverter.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- CertificateElement.cs
- input.cs
- SoundPlayerAction.cs
- BaseUriHelper.cs
- TextTreeObjectNode.cs
- ObjectNavigationPropertyMapping.cs
- DataBindEngine.cs
- DocumentViewerConstants.cs
- RuntimeVariablesExpression.cs
- DownloadProgressEventArgs.cs
- LightweightCodeGenerator.cs
- CheckBoxBaseAdapter.cs
- ReadOnlyPropertyMetadata.cs
- ResXResourceWriter.cs
- ListViewDataItem.cs
- TrustManagerMoreInformation.cs
- FaultCallbackWrapper.cs
- CollectionDataContract.cs
- XmlSchemaAttributeGroupRef.cs
- path.cs
- WebCategoryAttribute.cs
- _SingleItemRequestCache.cs
- MemberAccessException.cs
- TransferMode.cs
- SBCSCodePageEncoding.cs
- TreeNodeMouseHoverEvent.cs
- RegexBoyerMoore.cs
- DataStreams.cs
- HashStream.cs
- BaseCollection.cs
- ProcessStartInfo.cs
- TextContainerChangeEventArgs.cs
- SignedXml.cs
- ListBox.cs
- SqlVersion.cs
- StringHandle.cs
- ExpandButtonVisibilityConverter.cs
- TreeNodeEventArgs.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- QuotedPrintableStream.cs
- CodeAttributeDeclarationCollection.cs
- LinkDescriptor.cs
- LicenseException.cs
- XPathAncestorQuery.cs
- ApplicationServicesHostFactory.cs
- SequenceQuery.cs
- BoundConstants.cs
- RootContext.cs
- CommonDialog.cs
- XpsFont.cs
- MediaEntryAttribute.cs
- ExpressionEditorAttribute.cs
- XmlEventCache.cs
- Variable.cs
- SchemaSetCompiler.cs
- ConvertEvent.cs
- FrameworkElement.cs
- ClientSettings.cs
- DocumentDesigner.cs
- PresentationAppDomainManager.cs
- ToolstripProfessionalRenderer.cs
- InheritanceRules.cs
- AspNetSynchronizationContext.cs
- XmlImplementation.cs
- OptimisticConcurrencyException.cs
- ApplicationHost.cs
- CommandLibraryHelper.cs
- InteropBitmapSource.cs
- RadioButton.cs
- IconHelper.cs
- StorageComplexPropertyMapping.cs
- TogglePattern.cs
- SchemaImporterExtensionElement.cs
- SR.cs
- WebPartConnectionsConnectVerb.cs
- TransformConverter.cs