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
- FormViewPagerRow.cs
- Fx.cs
- UdpTransportSettings.cs
- VerbConverter.cs
- EntityContainer.cs
- XPathSingletonIterator.cs
- SqlGatherProducedAliases.cs
- LineProperties.cs
- RoleBoolean.cs
- UITypeEditor.cs
- PinnedBufferMemoryStream.cs
- BitmapCache.cs
- HttpHandlersSection.cs
- WebBrowserEvent.cs
- NonSerializedAttribute.cs
- SystemIPv6InterfaceProperties.cs
- PermissionToken.cs
- TransformedBitmap.cs
- CounterCreationDataConverter.cs
- TemplatedEditableDesignerRegion.cs
- SqlException.cs
- PageThemeBuildProvider.cs
- CaseInsensitiveHashCodeProvider.cs
- Color.cs
- BounceEase.cs
- SignedInfo.cs
- documentation.cs
- Bezier.cs
- CellTreeSimplifier.cs
- XmlSortKey.cs
- PasswordTextContainer.cs
- WebPartAuthorizationEventArgs.cs
- RuntimeHelpers.cs
- SettingsPropertyNotFoundException.cs
- Nullable.cs
- QuestionEventArgs.cs
- HwndSourceKeyboardInputSite.cs
- InvariantComparer.cs
- RemotingService.cs
- TextStore.cs
- GroupBoxAutomationPeer.cs
- DataObjectAttribute.cs
- FieldCollectionEditor.cs
- OraclePermission.cs
- Vector.cs
- __Filters.cs
- FormsAuthentication.cs
- Hyperlink.cs
- _SslState.cs
- SetStoryboardSpeedRatio.cs
- KernelTypeValidation.cs
- Bits.cs
- WeakEventTable.cs
- UserControl.cs
- EntityViewContainer.cs
- XmlSerializableReader.cs
- WebPartManagerInternals.cs
- ScrollProperties.cs
- BooleanSwitch.cs
- ProtocolsConfigurationEntry.cs
- ByteRangeDownloader.cs
- BatchServiceHost.cs
- ReadOnlyAttribute.cs
- SchemeSettingElement.cs
- DataError.cs
- BStrWrapper.cs
- DataGridViewComboBoxColumn.cs
- BoolExpressionVisitors.cs
- HtmlFormWrapper.cs
- PatternMatchRules.cs
- CalendarTable.cs
- GetWorkflowTree.cs
- TimeoutValidationAttribute.cs
- SplashScreen.cs
- EventHandlingScope.cs
- SharedTcpTransportManager.cs
- ScriptingAuthenticationServiceSection.cs
- OpCopier.cs
- DataGridHeaderBorder.cs
- AddDataControlFieldDialog.cs
- ExpressionVisitor.cs
- ButtonBaseDesigner.cs
- Trace.cs
- DisableDpiAwarenessAttribute.cs
- PerformanceCounterLib.cs
- Perspective.cs
- DataTableReader.cs
- CompressEmulationStream.cs
- AnnouncementSendsAsyncResult.cs
- DataControlButton.cs
- XmlMemberMapping.cs
- MatchingStyle.cs
- SQLMoney.cs
- Page.cs
- XpsS0ValidatingLoader.cs
- XmlTextReader.cs
- ResourceKey.cs
- EditorPart.cs
- EntityClientCacheKey.cs
- SQLByte.cs