Code:
/ FX-1434 / FX-1434 / 1.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
- CriticalFinalizerObject.cs
- ControlDesigner.cs
- ByteRangeDownloader.cs
- XmlStreamNodeWriter.cs
- Signature.cs
- WebPartConnectionsCancelVerb.cs
- ReachDocumentPageSerializerAsync.cs
- CounterCreationDataCollection.cs
- PropertyPathConverter.cs
- InternalConfigSettingsFactory.cs
- XamlStyleSerializer.cs
- DurableOperationContext.cs
- HtmlElementErrorEventArgs.cs
- ToolStripItemClickedEventArgs.cs
- ProvidersHelper.cs
- NoResizeSelectionBorderGlyph.cs
- BindingList.cs
- TableParaClient.cs
- TagNameToTypeMapper.cs
- WebControl.cs
- StatementContext.cs
- ObjectListCommandCollection.cs
- Span.cs
- EllipseGeometry.cs
- PauseStoryboard.cs
- ProjectedSlot.cs
- Context.cs
- QueryAccessibilityHelpEvent.cs
- ThicknessConverter.cs
- TakeQueryOptionExpression.cs
- HostingPreferredMapPath.cs
- mediaeventshelper.cs
- TableAdapterManagerMethodGenerator.cs
- FontStretch.cs
- BackgroundFormatInfo.cs
- StructuredTypeInfo.cs
- RelatedCurrencyManager.cs
- CategoryState.cs
- BrowserCapabilitiesFactory.cs
- ServicesUtilities.cs
- MasterPageCodeDomTreeGenerator.cs
- StreamUpdate.cs
- UdpChannelListener.cs
- ClientType.cs
- WebHostUnsafeNativeMethods.cs
- StreamResourceInfo.cs
- ArrayExtension.cs
- WsiProfilesElementCollection.cs
- MgmtConfigurationRecord.cs
- ResXResourceWriter.cs
- BitmapEffectvisualstate.cs
- CounterCreationData.cs
- TypeRefElement.cs
- PiiTraceSource.cs
- AspProxy.cs
- SQLBinaryStorage.cs
- X509UI.cs
- WebPartRestoreVerb.cs
- FixedSOMTextRun.cs
- Hash.cs
- PersonalizationEntry.cs
- PermissionRequestEvidence.cs
- DetailsViewPageEventArgs.cs
- DataMember.cs
- SqlHelper.cs
- TargetControlTypeCache.cs
- HttpCachePolicyElement.cs
- XmlBinaryWriter.cs
- cryptoapiTransform.cs
- FieldAccessException.cs
- TextAction.cs
- Compiler.cs
- TimelineCollection.cs
- CompatibleComparer.cs
- ListControlStringCollectionEditor.cs
- ExeConfigurationFileMap.cs
- TextRangeProviderWrapper.cs
- UriWriter.cs
- IResourceProvider.cs
- GeometryDrawing.cs
- TableLayoutColumnStyleCollection.cs
- OptimalTextSource.cs
- HighlightComponent.cs
- AddInAttribute.cs
- Stylus.cs
- PersistenceMetadataNamespace.cs
- ControlPropertyNameConverter.cs
- WebPartConnectionsConfigureVerb.cs
- XmlValidatingReader.cs
- PartialCachingControl.cs
- ContainsSearchOperator.cs
- ButtonChrome.cs
- RunClient.cs
- XmlTextEncoder.cs
- ScheduleChanges.cs
- BindingExpression.cs
- OleDbErrorCollection.cs
- RawTextInputReport.cs
- IndexedString.cs
- ArrayTypeMismatchException.cs