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
- DbMetaDataCollectionNames.cs
- TextServicesCompartmentEventSink.cs
- baseaxisquery.cs
- LayoutEvent.cs
- TemplateBamlRecordReader.cs
- XmlSignatureManifest.cs
- wgx_sdk_version.cs
- SecurityContext.cs
- XamlGridLengthSerializer.cs
- CommonObjectSecurity.cs
- NoResizeHandleGlyph.cs
- RC2CryptoServiceProvider.cs
- ConfigurationErrorsException.cs
- ResourceReferenceExpressionConverter.cs
- DesignerActionItemCollection.cs
- PropertyInformation.cs
- TimelineGroup.cs
- FileSystemEventArgs.cs
- ContentElement.cs
- ColorMatrix.cs
- StreamGeometryContext.cs
- Model3D.cs
- Metafile.cs
- ArrangedElement.cs
- WebZone.cs
- HGlobalSafeHandle.cs
- TraceHandlerErrorFormatter.cs
- Constant.cs
- WebConfigurationManager.cs
- HwndMouseInputProvider.cs
- SchemaTypeEmitter.cs
- newinstructionaction.cs
- EdgeModeValidation.cs
- DocumentXmlWriter.cs
- ClientScriptManager.cs
- Size.cs
- ResXDataNode.cs
- Button.cs
- ReflectEventDescriptor.cs
- DigitShape.cs
- ToolStripManager.cs
- WebPartDisplayModeEventArgs.cs
- Object.cs
- BoundConstants.cs
- DataGridParentRows.cs
- FormsAuthenticationEventArgs.cs
- WorkflowTraceTransfer.cs
- IssuedSecurityTokenParameters.cs
- Hashtable.cs
- DataSourceControl.cs
- Item.cs
- XmlQueryCardinality.cs
- HttpContextWrapper.cs
- XmlLinkedNode.cs
- BooleanSwitch.cs
- ImageMapEventArgs.cs
- coordinatorscratchpad.cs
- OutKeywords.cs
- TripleDES.cs
- EntityStoreSchemaFilterEntry.cs
- StringUtil.cs
- ViewStateException.cs
- ProtocolsConfiguration.cs
- Win32.cs
- EventProviderBase.cs
- SendKeys.cs
- GraphicsContext.cs
- OdbcStatementHandle.cs
- ModuleElement.cs
- Enum.cs
- IntSecurity.cs
- IdentifierService.cs
- InputProcessorProfilesLoader.cs
- IncomingWebResponseContext.cs
- SqlStream.cs
- Point3D.cs
- XmlNodeReader.cs
- TextOnlyOutput.cs
- OutputCacheSettings.cs
- ExceptionUtil.cs
- HttpCachePolicy.cs
- EditorZoneAutoFormat.cs
- ChildrenQuery.cs
- InvokeProviderWrapper.cs
- SecurityTokenValidationException.cs
- OleDbTransaction.cs
- WebPartConnectVerb.cs
- SoapFault.cs
- ApplicationProxyInternal.cs
- CodeExpressionCollection.cs
- WhitespaceSignificantCollectionAttribute.cs
- Focus.cs
- CommonDialog.cs
- EventLevel.cs
- NameSpaceExtractor.cs
- NegotiateStream.cs
- AnnotationResourceChangedEventArgs.cs
- TextDecorationCollectionConverter.cs
- QueryException.cs
- StrokeNodeEnumerator.cs