Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OuterGlowBitmapEffect.cs
- ToolStripKeyboardHandlingService.cs
- UIElementParaClient.cs
- ContextBase.cs
- RsaKeyIdentifierClause.cs
- ViewKeyConstraint.cs
- MSAAEventDispatcher.cs
- _NetRes.cs
- JumpPath.cs
- GestureRecognitionResult.cs
- RSAPKCS1SignatureDeformatter.cs
- DocumentXPathNavigator.cs
- TransactionProtocolConverter.cs
- ColorTypeConverter.cs
- SignatureDescription.cs
- OrderByExpression.cs
- TextElementEnumerator.cs
- DSASignatureFormatter.cs
- AstTree.cs
- AssociationType.cs
- DataSourceCollectionBase.cs
- SystemUnicastIPAddressInformation.cs
- DiagnosticsConfiguration.cs
- SqlUserDefinedAggregateAttribute.cs
- Drawing.cs
- VirtualPathUtility.cs
- DragEventArgs.cs
- CacheModeValueSerializer.cs
- EntityAdapter.cs
- PinnedBufferMemoryStream.cs
- DispatcherExceptionEventArgs.cs
- ConsoleTraceListener.cs
- RowCache.cs
- Parameter.cs
- WebPartConnectionsEventArgs.cs
- IList.cs
- DirectoryNotFoundException.cs
- ApplicationFileParser.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- XPathPatternParser.cs
- WindowShowOrOpenTracker.cs
- X509UI.cs
- Span.cs
- RSAOAEPKeyExchangeDeformatter.cs
- TextServicesCompartmentEventSink.cs
- ColorMatrix.cs
- XmlSchemaParticle.cs
- RelationshipWrapper.cs
- VisualStyleElement.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TextEditorSelection.cs
- DetailsViewPageEventArgs.cs
- DataViewManager.cs
- PortCache.cs
- OracleCommandSet.cs
- unsafeIndexingFilterStream.cs
- HttpListenerPrefixCollection.cs
- DescendantBaseQuery.cs
- URLAttribute.cs
- StrokeDescriptor.cs
- PersonalizationProvider.cs
- ScalarOps.cs
- UIElementCollection.cs
- WebEventTraceProvider.cs
- MultiBinding.cs
- AssemblyAssociatedContentFileAttribute.cs
- ModifierKeysValueSerializer.cs
- SignatureToken.cs
- PointAnimationClockResource.cs
- IgnorePropertiesAttribute.cs
- StringArrayConverter.cs
- VerificationAttribute.cs
- FlowSwitchDesigner.xaml.cs
- ReadOnlyNameValueCollection.cs
- CodeCommentStatement.cs
- UIElement.cs
- ImageEditor.cs
- ViewCellRelation.cs
- CustomAttributeBuilder.cs
- StyleCollection.cs
- Matrix.cs
- PlacementWorkspace.cs
- XmlStreamNodeWriter.cs
- Timer.cs
- FrameworkElementFactoryMarkupObject.cs
- CurrentChangingEventArgs.cs
- RangeValidator.cs
- FormatterConverter.cs
- FigureHelper.cs
- GradientStop.cs
- PersonalizationEntry.cs
- XamlPathDataSerializer.cs
- CodeGenerator.cs
- StyleTypedPropertyAttribute.cs
- ReferenceEqualityComparer.cs
- TreeNodeBinding.cs
- MatchNoneMessageFilter.cs
- CustomSignedXml.cs
- MemberAssignment.cs
- DebugView.cs