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
- PersonalizableTypeEntry.cs
- SetStoryboardSpeedRatio.cs
- InternalUserCancelledException.cs
- SQLBytesStorage.cs
- ListControl.cs
- UInt64.cs
- BoundConstants.cs
- WebPartVerb.cs
- ParseNumbers.cs
- SoapSchemaExporter.cs
- ImageCollectionCodeDomSerializer.cs
- XmlWrappingWriter.cs
- UdpDiscoveryEndpointElement.cs
- MailDefinition.cs
- DesignerDataColumn.cs
- MethodToken.cs
- BasicCommandTreeVisitor.cs
- GZipDecoder.cs
- StaticDataManager.cs
- TextDpi.cs
- BuildProviderAppliesToAttribute.cs
- Marshal.cs
- LinearGradientBrush.cs
- CallbackValidatorAttribute.cs
- QueryStringParameter.cs
- FreezableOperations.cs
- DefaultDialogButtons.cs
- RepeatInfo.cs
- _SslSessionsCache.cs
- Size3D.cs
- TdsParserSessionPool.cs
- InstanceLockException.cs
- TextRangeBase.cs
- TableLayoutStyleCollection.cs
- RadioButton.cs
- XPathAncestorIterator.cs
- ConstrainedGroup.cs
- SamlDoNotCacheCondition.cs
- WebCodeGenerator.cs
- Container.cs
- HtmlInputButton.cs
- FormViewDeleteEventArgs.cs
- MLangCodePageEncoding.cs
- ExtendedProtectionPolicyElement.cs
- Trigger.cs
- MouseButton.cs
- AutoCompleteStringCollection.cs
- _HeaderInfoTable.cs
- FixedSOMPageConstructor.cs
- Stack.cs
- SingleKeyFrameCollection.cs
- HttpCachePolicyElement.cs
- CheckedListBox.cs
- StorageEntityTypeMapping.cs
- EntityDataSourceWizardForm.cs
- _LocalDataStoreMgr.cs
- QilIterator.cs
- FileVersionInfo.cs
- TextBoxBase.cs
- AuthStoreRoleProvider.cs
- OleDbStruct.cs
- HostingEnvironment.cs
- Enlistment.cs
- Rect3DValueSerializer.cs
- PreservationFileReader.cs
- oledbmetadatacolumnnames.cs
- ServerValidateEventArgs.cs
- MenuItemAutomationPeer.cs
- OutputCacheSettings.cs
- QuaternionAnimationUsingKeyFrames.cs
- RectAnimationUsingKeyFrames.cs
- LookupNode.cs
- GridViewCommandEventArgs.cs
- CfgParser.cs
- LoginUtil.cs
- GetRecipientListRequest.cs
- SrgsDocumentParser.cs
- HashCodeCombiner.cs
- StreamWithDictionary.cs
- EditingMode.cs
- DataTableTypeConverter.cs
- PassportIdentity.cs
- ClientTargetCollection.cs
- LogicalExpressionTypeConverter.cs
- AutomationIdentifierGuids.cs
- UnauthorizedWebPart.cs
- ChooseAction.cs
- XsdDataContractImporter.cs
- ValueQuery.cs
- InvalidTimeZoneException.cs
- DoubleLink.cs
- SynchronousChannel.cs
- FieldMetadata.cs
- CacheRequest.cs
- TemplateBuilder.cs
- X509Utils.cs
- ContainerSelectorActiveEvent.cs
- ClientUtils.cs
- DataGridViewHitTestInfo.cs
- ErrorProvider.cs