Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DocumentGridPage.cs
- IdentifierService.cs
- MetafileHeaderWmf.cs
- SqlFileStream.cs
- ComplexTypeEmitter.cs
- SelectorItemAutomationPeer.cs
- BinHexEncoder.cs
- TextClipboardData.cs
- WebException.cs
- DiagnosticTrace.cs
- HuffCodec.cs
- TargetParameterCountException.cs
- LineSegment.cs
- TextCollapsingProperties.cs
- GestureRecognitionResult.cs
- ManipulationCompletedEventArgs.cs
- EtwTrace.cs
- StyleCollection.cs
- ElementAction.cs
- KoreanLunisolarCalendar.cs
- XmlRawWriter.cs
- Size.cs
- InvokePattern.cs
- XmlAtomErrorReader.cs
- CodeLinePragma.cs
- StatusBar.cs
- ConfigXmlWhitespace.cs
- XmlEncoding.cs
- GlyphingCache.cs
- DomNameTable.cs
- AutomationProperties.cs
- CardSpacePolicyElement.cs
- RC2.cs
- BaseHashHelper.cs
- AxImporter.cs
- BmpBitmapDecoder.cs
- ObjectContext.cs
- TrackingQuery.cs
- DeclaredTypeValidator.cs
- TimeStampChecker.cs
- TextElementEnumerator.cs
- Latin1Encoding.cs
- PagedDataSource.cs
- ResourceDisplayNameAttribute.cs
- Win32KeyboardDevice.cs
- Lease.cs
- PageSettings.cs
- ZipIOBlockManager.cs
- StringConverter.cs
- AssemblyHash.cs
- RadioButtonRenderer.cs
- IsolatedStorageFileStream.cs
- _ListenerAsyncResult.cs
- RenamedEventArgs.cs
- UInt16Storage.cs
- ArrayWithOffset.cs
- ScriptingSectionGroup.cs
- TextCharacters.cs
- Overlapped.cs
- RegexStringValidatorAttribute.cs
- DiscoveryMessageSequence.cs
- ConnectivityStatus.cs
- BasicHttpMessageSecurityElement.cs
- ProfileSettings.cs
- ServerValidateEventArgs.cs
- CompoundFileIOPermission.cs
- CallId.cs
- PipeConnection.cs
- GcHandle.cs
- ServerIdentity.cs
- ComponentResourceManager.cs
- FormViewInsertedEventArgs.cs
- SourceFilter.cs
- WebPartCloseVerb.cs
- Stacktrace.cs
- EditorZoneDesigner.cs
- WinFormsSpinner.cs
- Style.cs
- arclist.cs
- CommandValueSerializer.cs
- DictionaryEditChange.cs
- printdlgexmarshaler.cs
- XmlIterators.cs
- DataGridColumnStyleMappingNameEditor.cs
- WindowsFormsSynchronizationContext.cs
- UntypedNullExpression.cs
- DbDataRecord.cs
- GlyphInfoList.cs
- IDispatchConstantAttribute.cs
- AcceleratedTokenAuthenticator.cs
- DBSqlParserColumnCollection.cs
- ModuleConfigurationInfo.cs
- DataTableClearEvent.cs
- ProfileSection.cs
- GPRECTF.cs
- ContentPropertyAttribute.cs
- MarkupWriter.cs
- XPathNodeInfoAtom.cs
- TransportBindingElementImporter.cs
- TextEditorThreadLocalStore.cs