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
- CharConverter.cs
- ReachDocumentReferenceSerializerAsync.cs
- XhtmlBasicCalendarAdapter.cs
- CustomLineCap.cs
- TemplatePartAttribute.cs
- FunctionImportMapping.cs
- XamlTreeBuilderBamlRecordWriter.cs
- CreateParams.cs
- FullTextState.cs
- WebCategoryAttribute.cs
- SchemaNames.cs
- CanonicalFontFamilyReference.cs
- DataSourceExpression.cs
- WebPartConnectionsEventArgs.cs
- HelpKeywordAttribute.cs
- TreeChangeInfo.cs
- DBConnectionString.cs
- LinqDataSourceUpdateEventArgs.cs
- BuiltInPermissionSets.cs
- Resources.Designer.cs
- FixedSOMTableRow.cs
- SchemaElementLookUpTable.cs
- nulltextnavigator.cs
- DynamicDocumentPaginator.cs
- Thread.cs
- BitmapEffectGeneralTransform.cs
- NonClientArea.cs
- DivideByZeroException.cs
- OutArgument.cs
- DomainConstraint.cs
- SingleObjectCollection.cs
- ButtonColumn.cs
- JournalEntryListConverter.cs
- GifBitmapEncoder.cs
- QuerySettings.cs
- SimpleHandlerFactory.cs
- AliasGenerator.cs
- ImageSourceConverter.cs
- ListControl.cs
- DataGridViewIntLinkedList.cs
- SchemaMapping.cs
- MultipleViewProviderWrapper.cs
- TabControlDesigner.cs
- SystemDiagnosticsSection.cs
- Site.cs
- Light.cs
- EnumValidator.cs
- ServiceBehaviorAttribute.cs
- ListDictionaryInternal.cs
- VarRefManager.cs
- DebugController.cs
- SerialPort.cs
- KerberosSecurityTokenProvider.cs
- RecognizeCompletedEventArgs.cs
- LinkButton.cs
- DebugView.cs
- CodeSnippetCompileUnit.cs
- DefaultValidator.cs
- CommandHelpers.cs
- ServiceDebugBehavior.cs
- DrawTreeNodeEventArgs.cs
- NaturalLanguageHyphenator.cs
- Helper.cs
- InstanceBehavior.cs
- AppSettingsExpressionBuilder.cs
- CodeDefaultValueExpression.cs
- DateBoldEvent.cs
- OperandQuery.cs
- CopyAction.cs
- CompareValidator.cs
- TypeElement.cs
- EventDrivenDesigner.cs
- UrlPath.cs
- XmlSignatureManifest.cs
- bindurihelper.cs
- MsmqIntegrationSecurity.cs
- TdsParserStaticMethods.cs
- ObjectHandle.cs
- CssClassPropertyAttribute.cs
- TextRangeEdit.cs
- XPathMultyIterator.cs
- Int16AnimationBase.cs
- ComponentRenameEvent.cs
- HttpPostedFileWrapper.cs
- RowToFieldTransformer.cs
- MetabaseSettings.cs
- ApplicationManager.cs
- TimerEventSubscriptionCollection.cs
- ImageCollectionCodeDomSerializer.cs
- Binding.cs
- Internal.cs
- WorkflowView.cs
- HyperLink.cs
- CodeDomSerializer.cs
- MobileControl.cs
- ModelMemberCollection.cs
- CallTemplateAction.cs
- UnSafeCharBuffer.cs
- QueryCacheManager.cs
- xamlnodes.cs