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
- NotFiniteNumberException.cs
- ProviderCommandInfoUtils.cs
- TemplatePropertyEntry.cs
- WebPartTransformerAttribute.cs
- NetMsmqSecurityMode.cs
- CompiledELinqQueryState.cs
- SqlLiftWhereClauses.cs
- Pipe.cs
- SortFieldComparer.cs
- SoapReflector.cs
- ValidationRuleCollection.cs
- SqlXml.cs
- StringResourceManager.cs
- NativeCompoundFileAPIs.cs
- TypeDependencyAttribute.cs
- ImagingCache.cs
- StylusLogic.cs
- ImpersonateTokenRef.cs
- Rect.cs
- VariableAction.cs
- TemplateXamlParser.cs
- Pair.cs
- ImageBrush.cs
- AssociationType.cs
- SoapSchemaExporter.cs
- TextSimpleMarkerProperties.cs
- RangeValuePattern.cs
- HtmlInputControl.cs
- CryptoStream.cs
- ProgressBar.cs
- LinkButton.cs
- WebZone.cs
- PropertySegmentSerializationProvider.cs
- HandlerBase.cs
- TextStore.cs
- ToolStripDropDownClosedEventArgs.cs
- ItemsChangedEventArgs.cs
- Label.cs
- RadioButtonPopupAdapter.cs
- RenderingBiasValidation.cs
- X509CertificateChain.cs
- PartialCachingControl.cs
- DataSourceXmlSerializer.cs
- DataRowView.cs
- HttpResponseHeader.cs
- Util.cs
- PerformanceCounterCategory.cs
- NewItemsContextMenuStrip.cs
- PermissionSet.cs
- _FtpControlStream.cs
- Soap.cs
- basecomparevalidator.cs
- InputQueue.cs
- LinearQuaternionKeyFrame.cs
- LookupBindingPropertiesAttribute.cs
- ReachUIElementCollectionSerializer.cs
- ModelEditingScope.cs
- UserMapPath.cs
- COM2ICategorizePropertiesHandler.cs
- PopupRoot.cs
- Configuration.cs
- TcpClientChannel.cs
- PermissionSetTriple.cs
- DataGridCommandEventArgs.cs
- NetworkInformationPermission.cs
- _FtpControlStream.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ExpandSegment.cs
- DataGridViewComboBoxColumn.cs
- TableDesigner.cs
- TextTrailingCharacterEllipsis.cs
- COM2Enum.cs
- _PooledStream.cs
- DBCommand.cs
- XPathException.cs
- Environment.cs
- IPEndPoint.cs
- WorkflowApplicationIdleEventArgs.cs
- Int64KeyFrameCollection.cs
- IsolatedStorageFileStream.cs
- Evaluator.cs
- OrderPreservingSpoolingTask.cs
- Array.cs
- MenuItemCollection.cs
- StyleModeStack.cs
- UriTemplateTrieLocation.cs
- GlobalEventManager.cs
- RoleBoolean.cs
- precedingquery.cs
- RegexRunner.cs
- Rules.cs
- ScalarType.cs
- SwitchAttribute.cs
- ObjectStateEntryDbDataRecord.cs
- TypeInitializationException.cs
- ModuleBuilder.cs
- WorkflowPrinting.cs
- ColumnHeaderCollectionEditor.cs
- RadioButtonFlatAdapter.cs
- CodeTypeMemberCollection.cs