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
- ProgressBarHighlightConverter.cs
- RuntimeCompatibilityAttribute.cs
- TextSelectionHighlightLayer.cs
- ScrollData.cs
- SymmetricAlgorithm.cs
- FollowerQueueCreator.cs
- CodeSnippetExpression.cs
- TrackPoint.cs
- BitmapCacheBrush.cs
- PersonalizationProviderCollection.cs
- RelatedCurrencyManager.cs
- Geometry.cs
- TableItemStyle.cs
- FileDialog_Vista.cs
- ScriptModule.cs
- FromReply.cs
- SafeNativeMethodsCLR.cs
- HtmlInputImage.cs
- HttpModuleAction.cs
- ContentControl.cs
- ConnectionManagementSection.cs
- ConfigXmlWhitespace.cs
- Match.cs
- ConstraintStruct.cs
- XPathDocumentBuilder.cs
- RemoteHelper.cs
- TreeViewItem.cs
- ButtonField.cs
- NonParentingControl.cs
- EventSetter.cs
- WsdlWriter.cs
- DocumentCollection.cs
- SByte.cs
- XmlAggregates.cs
- UnsafeNetInfoNativeMethods.cs
- ReferentialConstraint.cs
- Error.cs
- NotificationContext.cs
- StrongNameMembershipCondition.cs
- TemplateControl.cs
- ConnectionPoint.cs
- DesignerDataSourceView.cs
- SQLBytes.cs
- ParameterCollection.cs
- TextFormatterHost.cs
- _LocalDataStore.cs
- WindowsListViewGroupHelper.cs
- ComboBox.cs
- Events.cs
- InvalidEnumArgumentException.cs
- SerializeAbsoluteContext.cs
- EnvelopedPkcs7.cs
- XmlDictionaryString.cs
- GridProviderWrapper.cs
- GraphicsState.cs
- IWorkflowDebuggerService.cs
- PeerObject.cs
- LicFileLicenseProvider.cs
- DateTimeStorage.cs
- FontWeight.cs
- FixedDSBuilder.cs
- ToolStripCodeDomSerializer.cs
- DependencyObjectType.cs
- CacheOutputQuery.cs
- Trace.cs
- JournalEntry.cs
- SmtpMail.cs
- DataTemplateKey.cs
- ControlAdapter.cs
- ConditionalExpression.cs
- KernelTypeValidation.cs
- ConsoleCancelEventArgs.cs
- FontFamily.cs
- SQLDecimal.cs
- FileChangesMonitor.cs
- Baml2006KnownTypes.cs
- DataGridColumnHeaderCollection.cs
- DesignerAutoFormat.cs
- KoreanLunisolarCalendar.cs
- DrawingGroup.cs
- _ScatterGatherBuffers.cs
- MergablePropertyAttribute.cs
- AppDomainGrammarProxy.cs
- InvalidProgramException.cs
- _BufferOffsetSize.cs
- DataFormats.cs
- InvalidWMPVersionException.cs
- ValidationHelpers.cs
- VideoDrawing.cs
- RegistryKey.cs
- RelOps.cs
- UniqueIdentifierService.cs
- HtmlInputSubmit.cs
- DocumentProperties.cs
- TextEffect.cs
- ApplicationBuildProvider.cs
- ListViewDeleteEventArgs.cs
- DataGridCaption.cs
- ChangePassword.cs
- MouseDevice.cs