Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OrderedDictionaryStateHelper.cs
- SemanticResultValue.cs
- InvokeMethod.cs
- BitmapEffectInput.cs
- _StreamFramer.cs
- FrameworkEventSource.cs
- Duration.cs
- SmiRecordBuffer.cs
- TypeConverterHelper.cs
- CompilerErrorCollection.cs
- View.cs
- SimpleApplicationHost.cs
- DbConnectionFactory.cs
- BinaryObjectReader.cs
- StrokeCollection.cs
- brushes.cs
- Frame.cs
- BooleanStorage.cs
- FixedSOMTable.cs
- MessageSmuggler.cs
- LiteralTextContainerControlBuilder.cs
- TransactionInformation.cs
- WSTrustDec2005.cs
- MatrixUtil.cs
- AttributeAction.cs
- RepeaterCommandEventArgs.cs
- WindowsImpersonationContext.cs
- StateFinalizationActivity.cs
- RectangleHotSpot.cs
- ZoomComboBox.cs
- ListViewDataItem.cs
- SEHException.cs
- MDIControlStrip.cs
- Cloud.cs
- _ContextAwareResult.cs
- ProfileSection.cs
- SerialStream.cs
- HttpListenerRequest.cs
- LocalizationParserHooks.cs
- TypedElement.cs
- TableParaClient.cs
- UnionExpr.cs
- QilParameter.cs
- AddInController.cs
- IncrementalReadDecoders.cs
- DefaultEventAttribute.cs
- MimeTextImporter.cs
- ZipIORawDataFileBlock.cs
- CompiledQuery.cs
- InputLanguageEventArgs.cs
- ForceCopyBuildProvider.cs
- TextSelection.cs
- TdsParser.cs
- ErrorWebPart.cs
- DataGridViewControlCollection.cs
- TargetInvocationException.cs
- LinkLabelLinkClickedEvent.cs
- UnsupportedPolicyOptionsException.cs
- ArgumentDesigner.xaml.cs
- DateTimeConverter2.cs
- StringAnimationUsingKeyFrames.cs
- FastEncoder.cs
- VerificationAttribute.cs
- OneOfScalarConst.cs
- BaseCollection.cs
- BindStream.cs
- AuthenticationServiceManager.cs
- ASCIIEncoding.cs
- ObjectSpanRewriter.cs
- TextComposition.cs
- ArithmeticException.cs
- DbBuffer.cs
- BuildManager.cs
- DbProviderServices.cs
- EncoderParameters.cs
- ParameterCollection.cs
- CodeDirectoryCompiler.cs
- DataAccessor.cs
- SplashScreen.cs
- Stylesheet.cs
- UidManager.cs
- WebBrowserUriTypeConverter.cs
- CompoundFileDeflateTransform.cs
- TextPattern.cs
- SchemaMerger.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- XmlArrayAttribute.cs
- IIS7UserPrincipal.cs
- DurableInstanceManager.cs
- HttpModuleActionCollection.cs
- ConnectorMovedEventArgs.cs
- NetworkInformationPermission.cs
- StyleXamlParser.cs
- DemultiplexingDispatchMessageFormatter.cs
- BindMarkupExtensionSerializer.cs
- LineBreak.cs
- TypedReference.cs
- XmlSchemaComplexContent.cs
- DataBoundControl.cs
- ListItemParagraph.cs