Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Security / Cryptography / ECDiffieHellman.cs / 1305376 / ECDiffieHellman.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== using System; using System.Runtime.Serialization; namespace System.Security.Cryptography { ////// Abstract base class for implementations of elliptic curve Diffie-Hellman to derive from /// [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] public abstract class ECDiffieHellman : AsymmetricAlgorithm { public override string KeyExchangeAlgorithm { get { return "ECDiffieHellman"; } } public override string SignatureAlgorithm { get { return null; } } // // Creation factory methods // public static new ECDiffieHellman Create() { return Create(typeof(ECDiffieHellmanCng).FullName); } public static new ECDiffieHellman Create(string algorithm) { if (algorithm == null) { throw new ArgumentNullException("algorithm"); } return CryptoConfig.CreateFromName(algorithm) as ECDiffieHellman; } // // Key derivation // public abstract ECDiffieHellmanPublicKey PublicKey { get; } public abstract byte[] DeriveKeyMaterial(ECDiffieHellmanPublicKey otherPartyPublicKey); } } // 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
- DetailsViewDeleteEventArgs.cs
- SetStoryboardSpeedRatio.cs
- Activator.cs
- EventProviderClassic.cs
- CodeAccessSecurityEngine.cs
- MimeTypeMapper.cs
- dataobject.cs
- ADConnectionHelper.cs
- uribuilder.cs
- CodeDOMProvider.cs
- StringConverter.cs
- ResourcesBuildProvider.cs
- SchemaDeclBase.cs
- CryptoHandle.cs
- FileDialog.cs
- WebEventTraceProvider.cs
- DataColumnChangeEvent.cs
- SettingsSection.cs
- RangeContentEnumerator.cs
- RequestCache.cs
- InstanceContext.cs
- TableLayoutPanelCellPosition.cs
- XmlNamespaceDeclarationsAttribute.cs
- SqlBuilder.cs
- CellParagraph.cs
- AnnotationHelper.cs
- MenuItem.cs
- TableMethodGenerator.cs
- Trace.cs
- XmlIterators.cs
- SystemIPInterfaceProperties.cs
- CrossContextChannel.cs
- DateTimeFormatInfoScanner.cs
- IPAddressCollection.cs
- SharedStatics.cs
- Cursor.cs
- TemplateColumn.cs
- InputScopeManager.cs
- CustomValidator.cs
- CoTaskMemSafeHandle.cs
- ToolStripLabel.cs
- TextShapeableCharacters.cs
- PartManifestEntry.cs
- ComponentSerializationService.cs
- WebEventCodes.cs
- DataColumnMappingCollection.cs
- InvokeHandlers.cs
- HtmlButton.cs
- TextTreeInsertElementUndoUnit.cs
- EncryptedKey.cs
- SByteStorage.cs
- ToolStripPanelCell.cs
- LinearGradientBrush.cs
- PathParser.cs
- ListBindingConverter.cs
- MappingItemCollection.cs
- CodeSnippetTypeMember.cs
- FieldBuilder.cs
- LinqDataSourceUpdateEventArgs.cs
- WindowsToolbarItemAsMenuItem.cs
- JsonGlobals.cs
- TreeNodeCollection.cs
- mda.cs
- GuidelineCollection.cs
- WeakEventManager.cs
- JournalEntryListConverter.cs
- safelink.cs
- BrowserCapabilitiesCodeGenerator.cs
- RowToParametersTransformer.cs
- ResourceManager.cs
- ObjectQueryState.cs
- ColorAnimationUsingKeyFrames.cs
- XmlNamedNodeMap.cs
- CheckBoxDesigner.cs
- followingsibling.cs
- XpsPackagingPolicy.cs
- LOSFormatter.cs
- DesignTimeDataBinding.cs
- WindowsUpDown.cs
- ContentPropertyAttribute.cs
- Win32SafeHandles.cs
- SqlDuplicator.cs
- FieldInfo.cs
- DefaultValueAttribute.cs
- WorkflowEventArgs.cs
- _TLSstream.cs
- DmlSqlGenerator.cs
- Misc.cs
- WebBrowserNavigatedEventHandler.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- GeneralTransform.cs
- LeftCellWrapper.cs
- ConfigurationStrings.cs
- GeneralTransformGroup.cs
- TreeViewTemplateSelector.cs
- entitydatasourceentitysetnameconverter.cs
- AdRotatorDesigner.cs
- SqlDataSourceDesigner.cs
- _SSPISessionCache.cs
- FormViewModeEventArgs.cs