Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Security / Cryptography / AsymmetricSignatureFormatter.cs / 1 / AsymmetricSignatureFormatter.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // AsymmetricSignatureFormatter.cs // namespace System.Security.Cryptography { using System; [System.Runtime.InteropServices.ComVisible(true)] public abstract class AsymmetricSignatureFormatter { // // protected constructors // protected AsymmetricSignatureFormatter() { } // // public methods // abstract public void SetKey(AsymmetricAlgorithm key); abstract public void SetHashAlgorithm(String strName); public virtual byte[] CreateSignature(HashAlgorithm hash) { if (hash == null) throw new ArgumentNullException("hash"); SetHashAlgorithm(hash.ToString()); return CreateSignature(hash.Hash); } abstract public byte[] CreateSignature(byte[] rgbHash); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // AsymmetricSignatureFormatter.cs // namespace System.Security.Cryptography { using System; [System.Runtime.InteropServices.ComVisible(true)] public abstract class AsymmetricSignatureFormatter { // // protected constructors // protected AsymmetricSignatureFormatter() { } // // public methods // abstract public void SetKey(AsymmetricAlgorithm key); abstract public void SetHashAlgorithm(String strName); public virtual byte[] CreateSignature(HashAlgorithm hash) { if (hash == null) throw new ArgumentNullException("hash"); SetHashAlgorithm(hash.ToString()); return CreateSignature(hash.Hash); } abstract public byte[] CreateSignature(byte[] rgbHash); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeExporter.cs
- OuterGlowBitmapEffect.cs
- LowerCaseStringConverter.cs
- ExceptionHelpers.cs
- EntityContainerEmitter.cs
- SafeProcessHandle.cs
- IDispatchConstantAttribute.cs
- DataList.cs
- FrameworkTemplate.cs
- SharedPersonalizationStateInfo.cs
- ipaddressinformationcollection.cs
- SQLSingleStorage.cs
- ReferentialConstraint.cs
- ObjectHandle.cs
- GlyphRunDrawing.cs
- ByteAnimation.cs
- PeerPresenceInfo.cs
- LineVisual.cs
- ButtonFlatAdapter.cs
- Int32Animation.cs
- BufferBuilder.cs
- RecordManager.cs
- JoinGraph.cs
- MediaElementAutomationPeer.cs
- AtomMaterializerLog.cs
- RuntimeCompatibilityAttribute.cs
- CryptoConfig.cs
- StateMachineAction.cs
- JsonUriDataContract.cs
- MetadataItem_Static.cs
- ToolStripPanelCell.cs
- OrderedDictionary.cs
- ObfuscationAttribute.cs
- RectangleGeometry.cs
- JavaScriptSerializer.cs
- Deserializer.cs
- FileDataSourceCache.cs
- RtfToXamlLexer.cs
- XamlToRtfWriter.cs
- CodeGotoStatement.cs
- GenericFlowSwitchHelper.cs
- VirtualizedContainerService.cs
- xsdvalidator.cs
- Command.cs
- SocketInformation.cs
- Baml2006Reader.cs
- HostedTcpTransportManager.cs
- BamlVersionHeader.cs
- QilCloneVisitor.cs
- RadioButtonStandardAdapter.cs
- QilPatternFactory.cs
- TextBlockAutomationPeer.cs
- ConnectionProviderAttribute.cs
- PropertySourceInfo.cs
- XslCompiledTransform.cs
- PingOptions.cs
- ErrorHandlingReceiver.cs
- XmlDataSourceView.cs
- CompilerCollection.cs
- MailAddress.cs
- HtmlInputSubmit.cs
- HttpsHostedTransportConfiguration.cs
- Logging.cs
- MultiViewDesigner.cs
- AggregateNode.cs
- SrgsRulesCollection.cs
- GenerateHelper.cs
- FixedStringLookup.cs
- DataListCommandEventArgs.cs
- OutputCacheSettingsSection.cs
- Light.cs
- ResourceReferenceKeyNotFoundException.cs
- StoreAnnotationsMap.cs
- GenericXmlSecurityTokenAuthenticator.cs
- XmlSerializerAssemblyAttribute.cs
- SettingsBindableAttribute.cs
- IncrementalReadDecoders.cs
- Helper.cs
- DBCommandBuilder.cs
- OleDbInfoMessageEvent.cs
- HotCommands.cs
- BitmapCache.cs
- PopOutPanel.cs
- NavigationExpr.cs
- CommandManager.cs
- DesignerFrame.cs
- TemplateEditingFrame.cs
- XmlSchemaSimpleContent.cs
- IndexingContentUnit.cs
- _BasicClient.cs
- RtfFormatStack.cs
- HTMLTagNameToTypeMapper.cs
- HttpVersion.cs
- OleDbRowUpdatedEvent.cs
- DES.cs
- ServiceOperationUIEditor.cs
- TemplateXamlParser.cs
- SchemaImporterExtensionsSection.cs
- NativeMethods.cs
- WorkflowInstanceTerminatedRecord.cs