Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TrackBarRenderer.cs
- RoleManagerEventArgs.cs
- SchemaTableOptionalColumn.cs
- ApplicationSecurityInfo.cs
- IFormattable.cs
- Behavior.cs
- ConfigurationManagerHelper.cs
- Vector.cs
- ShutDownListener.cs
- SortQuery.cs
- PropertyEmitterBase.cs
- GenericArgumentsUpdater.cs
- Compensation.cs
- DataGridViewTextBoxEditingControl.cs
- XmlObjectSerializer.cs
- SignedXml.cs
- LeafCellTreeNode.cs
- ZipFileInfoCollection.cs
- StrongNameIdentityPermission.cs
- CodeVariableReferenceExpression.cs
- Graphics.cs
- ScriptResourceInfo.cs
- CellTreeNode.cs
- ToolStripButton.cs
- FieldToken.cs
- Color.cs
- CompilerError.cs
- SystemDiagnosticsSection.cs
- XmlResolver.cs
- TargetControlTypeAttribute.cs
- WindowsRichEdit.cs
- _CacheStreams.cs
- ColumnCollection.cs
- MailWriter.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SiteMapNodeItem.cs
- PreservationFileReader.cs
- RemotingConfigParser.cs
- PartitionResolver.cs
- SystemFonts.cs
- XsdSchemaFileEditor.cs
- ZipFileInfo.cs
- securitycriticaldataClass.cs
- AttributeCollection.cs
- XmlSerializerAssemblyAttribute.cs
- CacheForPrimitiveTypes.cs
- GridItemPatternIdentifiers.cs
- ChangePassword.cs
- GridViewColumn.cs
- StructuralObject.cs
- TrueReadOnlyCollection.cs
- SoapReflectionImporter.cs
- WebServiceFaultDesigner.cs
- SEHException.cs
- SequentialWorkflowRootDesigner.cs
- DataMemberFieldEditor.cs
- BitmapMetadataEnumerator.cs
- HostingEnvironmentException.cs
- PersonalizationStateQuery.cs
- Model3D.cs
- IPAddress.cs
- UserValidatedEventArgs.cs
- SmiContextFactory.cs
- ValidatedControlConverter.cs
- CompensationDesigner.cs
- ClockGroup.cs
- WindowInteractionStateTracker.cs
- CodePageUtils.cs
- RectangleF.cs
- FileVersion.cs
- SQLInt64Storage.cs
- CodeNamespaceImportCollection.cs
- VersionedStream.cs
- WebUtility.cs
- SubMenuStyleCollection.cs
- ImplicitInputBrush.cs
- TrackingProfile.cs
- StrongNameKeyPair.cs
- EditorZoneBase.cs
- MasterPageBuildProvider.cs
- _AuthenticationState.cs
- HwndHostAutomationPeer.cs
- PasswordRecoveryAutoFormat.cs
- Expression.cs
- Evidence.cs
- PropertySourceInfo.cs
- ParameterCollection.cs
- TimeStampChecker.cs
- StoryFragments.cs
- WriteableBitmap.cs
- XmlUrlResolver.cs
- StreamGeometry.cs
- UnionCodeGroup.cs
- StringResourceManager.cs
- WindowsListViewSubItem.cs
- InputLanguageProfileNotifySink.cs
- KeyedQueue.cs
- Queue.cs
- SafeLibraryHandle.cs
- XmlMemberMapping.cs