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
- CssClassPropertyAttribute.cs
- OleDbCommandBuilder.cs
- SqlClientWrapperSmiStreamChars.cs
- UniqueID.cs
- Unit.cs
- BreakSafeBase.cs
- TextMarkerSource.cs
- BamlLocalizer.cs
- CookielessHelper.cs
- PerformanceCountersElement.cs
- EventMap.cs
- TextElementEnumerator.cs
- ExceptionUtil.cs
- DataGridRow.cs
- RecordBuilder.cs
- MobileListItemCollection.cs
- PartialCachingControl.cs
- basevalidator.cs
- MediaElementAutomationPeer.cs
- ProcessThread.cs
- WebPartConnectionCollection.cs
- InternalConfigEventArgs.cs
- DynamicDataRoute.cs
- Ipv6Element.cs
- CommandConverter.cs
- XpsSerializerWriter.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ConsoleTraceListener.cs
- ShaperBuffers.cs
- DockPatternIdentifiers.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- PrimarySelectionAdorner.cs
- ShaperBuffers.cs
- NativeMethods.cs
- Models.cs
- DataSourceCache.cs
- InternalConfigRoot.cs
- CodeFieldReferenceExpression.cs
- RtfToXamlLexer.cs
- DataGridTextBox.cs
- VoiceChangeEventArgs.cs
- PagesChangedEventArgs.cs
- XhtmlBasicCalendarAdapter.cs
- TdsParser.cs
- SafeNativeMethodsMilCoreApi.cs
- SafeRegistryHandle.cs
- Span.cs
- ProvidersHelper.cs
- EntityParameterCollection.cs
- InputReportEventArgs.cs
- VisualStyleElement.cs
- DbMetaDataFactory.cs
- SmiContextFactory.cs
- TableRowCollection.cs
- SharedStatics.cs
- precedingsibling.cs
- HTMLTagNameToTypeMapper.cs
- DragDrop.cs
- TextElement.cs
- ZoneLinkButton.cs
- HyperLinkColumn.cs
- SignerInfo.cs
- Pen.cs
- SystemWebExtensionsSectionGroup.cs
- UrlParameterReader.cs
- ParserHooks.cs
- LexicalChunk.cs
- CodeLinePragma.cs
- Single.cs
- DrawingState.cs
- RadioButtonList.cs
- TextServicesManager.cs
- XmlSchemaInferenceException.cs
- UrlMappingsSection.cs
- HTTPNotFoundHandler.cs
- ConfigXmlReader.cs
- ControlIdConverter.cs
- FormatterServicesNoSerializableCheck.cs
- TabControlEvent.cs
- Pair.cs
- ToolStripGripRenderEventArgs.cs
- TreeNodeStyle.cs
- DBParameter.cs
- TransformConverter.cs
- WebPartsSection.cs
- AttachedPropertyInfo.cs
- OperandQuery.cs
- StylusPointPropertyId.cs
- StreamBodyWriter.cs
- ConnectionPoint.cs
- CodePageUtils.cs
- SqlDataSourceCommandParser.cs
- CngKeyBlobFormat.cs
- DataColumn.cs
- ClientSideQueueItem.cs
- AutomationEventArgs.cs
- CodeDelegateCreateExpression.cs
- FeatureManager.cs
- DataGridView.cs
- TextAction.cs