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
- WebPartEditorApplyVerb.cs
- SafeFileMappingHandle.cs
- FocusWithinProperty.cs
- CompiledRegexRunnerFactory.cs
- DocumentPageView.cs
- MiniMapControl.xaml.cs
- LinqDataSourceSelectEventArgs.cs
- OdbcConnectionPoolProviderInfo.cs
- OpenFileDialog.cs
- ColumnCollectionEditor.cs
- SemaphoreSecurity.cs
- BamlLocalizableResource.cs
- Win32Native.cs
- TextBoxDesigner.cs
- EndpointInstanceProvider.cs
- XPathNode.cs
- SettingsPropertyValue.cs
- HostedElements.cs
- DBPropSet.cs
- WsdlBuildProvider.cs
- SerializationUtility.cs
- UnitControl.cs
- OleDbInfoMessageEvent.cs
- ImagingCache.cs
- Quaternion.cs
- ItemMap.cs
- BaseTreeIterator.cs
- DetailsViewUpdatedEventArgs.cs
- XmlParserContext.cs
- XmlIncludeAttribute.cs
- CalculatedColumn.cs
- FormatControl.cs
- LookupBindingPropertiesAttribute.cs
- RichTextBoxConstants.cs
- RegisteredScript.cs
- TreeViewHitTestInfo.cs
- SetStoryboardSpeedRatio.cs
- RegexCapture.cs
- UdpDiscoveryEndpointElement.cs
- PropertyRecord.cs
- HttpResponseInternalWrapper.cs
- CodePageEncoding.cs
- AdornerDecorator.cs
- DataServiceConfiguration.cs
- ImmComposition.cs
- Wizard.cs
- StaticExtension.cs
- diagnosticsswitches.cs
- __FastResourceComparer.cs
- HashHelper.cs
- XmlSchemaComplexContentRestriction.cs
- TextFragmentEngine.cs
- ContextMenuStripGroup.cs
- DataGridPageChangedEventArgs.cs
- PropertyGridView.cs
- BamlVersionHeader.cs
- nulltextcontainer.cs
- DictionarySurrogate.cs
- XmlCharacterData.cs
- TabControlDesigner.cs
- CodeCommentStatement.cs
- ContextMarshalException.cs
- XmlException.cs
- ZoneButton.cs
- MimeTypeMapper.cs
- BaseParser.cs
- ipaddressinformationcollection.cs
- StyleModeStack.cs
- RootDesignerSerializerAttribute.cs
- ObjectStateManagerMetadata.cs
- Metadata.cs
- DataKeyArray.cs
- WebPartsSection.cs
- CroppedBitmap.cs
- DataGridViewControlCollection.cs
- DataBoundLiteralControl.cs
- DependencyPropertyConverter.cs
- Scheduling.cs
- ItemCheckEvent.cs
- SamlEvidence.cs
- SafeEventHandle.cs
- RootBrowserWindow.cs
- ComponentGuaranteesAttribute.cs
- _NativeSSPI.cs
- ServiceDocument.cs
- BaseDataListPage.cs
- WebScriptClientGenerator.cs
- ClientConfigPaths.cs
- NameValueCollection.cs
- ConfigXmlAttribute.cs
- DynamicActivity.cs
- ClientRuntimeConfig.cs
- WebPartMovingEventArgs.cs
- NetworkCredential.cs
- EmptyEnumerator.cs
- UnaryNode.cs
- ObjectDataSourceChooseMethodsPanel.cs
- SessionStateModule.cs
- RemoteEndpointMessageProperty.cs
- DependencyPropertyDescriptor.cs