Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Security / Cryptography / ECDiffieHellmanPublicKey.cs / 1305376 / ECDiffieHellmanPublicKey.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== using System; using System.Runtime.Serialization; using System.Diagnostics.Contracts; namespace System.Security.Cryptography { ////// Wrapper for public key material passed between parties during Diffie-Hellman key material generation /// [Serializable] [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] public abstract class ECDiffieHellmanPublicKey : IDisposable { private byte[] m_keyBlob; protected ECDiffieHellmanPublicKey(byte[] keyBlob) { Contract.Ensures(m_keyBlob != null); if (keyBlob == null) { throw new ArgumentNullException("keyBlob"); } m_keyBlob = keyBlob.Clone() as byte[]; } public void Dispose() { Dispose(true); } protected virtual void Dispose(bool disposing) { return; } public virtual byte[] ToByteArray() { Contract.Assert(m_keyBlob != null); return m_keyBlob.Clone() as byte[]; } public abstract string ToXmlString(); } } // 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
- DataGridItemCollection.cs
- GridViewCommandEventArgs.cs
- SafeHandles.cs
- DefaultPropertyAttribute.cs
- PathNode.cs
- IdentityHolder.cs
- UpdatePanelTriggerCollection.cs
- ListViewGroupCollectionEditor.cs
- CreatingCookieEventArgs.cs
- ExceptionUtil.cs
- ReliableMessagingVersion.cs
- TableHeaderCell.cs
- HttpModule.cs
- ShimAsPublicXamlType.cs
- smtppermission.cs
- PopupRootAutomationPeer.cs
- BoundPropertyEntry.cs
- GetFileNameResult.cs
- ConditionBrowserDialog.cs
- SimpleTypeResolver.cs
- AccessedThroughPropertyAttribute.cs
- XmlDictionary.cs
- MsmqDecodeHelper.cs
- Material.cs
- IndicShape.cs
- TypeDescriptionProvider.cs
- PageThemeCodeDomTreeGenerator.cs
- LineGeometry.cs
- XmlLinkedNode.cs
- securitycriticaldata.cs
- CodeNamespaceCollection.cs
- Ops.cs
- LazyInitializer.cs
- DrawingAttributeSerializer.cs
- DataGridViewLinkColumn.cs
- TaskFactory.cs
- ColumnReorderedEventArgs.cs
- CfgSemanticTag.cs
- Int16KeyFrameCollection.cs
- BaseResourcesBuildProvider.cs
- XmlSchemaFacet.cs
- StyleBamlTreeBuilder.cs
- BreadCrumbTextConverter.cs
- XpsS0ValidatingLoader.cs
- TemplateControlParser.cs
- HostProtectionPermission.cs
- ScriptReference.cs
- SQlBooleanStorage.cs
- UnauthorizedAccessException.cs
- SiteMapNode.cs
- DateTimeParse.cs
- CodeVariableReferenceExpression.cs
- ListSourceHelper.cs
- DesignerOptionService.cs
- CellTreeNodeVisitors.cs
- MailWriter.cs
- XslTransform.cs
- PlatformNotSupportedException.cs
- BindingValueChangedEventArgs.cs
- XhtmlMobileTextWriter.cs
- StylusEventArgs.cs
- FormatSettings.cs
- PreservationFileReader.cs
- DoubleSumAggregationOperator.cs
- BamlTreeUpdater.cs
- GridViewUpdateEventArgs.cs
- storepermission.cs
- CodeAccessSecurityEngine.cs
- MarshalByRefObject.cs
- Knowncolors.cs
- SafeNativeMethods.cs
- DynamicValueConverter.cs
- Duration.cs
- DataException.cs
- CodeCastExpression.cs
- FontWeightConverter.cs
- CachedPathData.cs
- DetailsViewRow.cs
- CryptoHelper.cs
- TraceListeners.cs
- DataGridTableCollection.cs
- PointAnimationBase.cs
- StylusCaptureWithinProperty.cs
- PropertyDescriptorComparer.cs
- HttpSessionStateBase.cs
- GridViewColumnHeaderAutomationPeer.cs
- RotateTransform.cs
- MessageQueueAccessControlEntry.cs
- DeferredBinaryDeserializerExtension.cs
- TokenCreationException.cs
- HttpProcessUtility.cs
- BuildProviderInstallComponent.cs
- ExpressionEditorAttribute.cs
- StatusBarAutomationPeer.cs
- ToolTipService.cs
- ReadOnlyPropertyMetadata.cs
- Console.cs
- DataRowChangeEvent.cs
- TypeContext.cs
- OracleCommandBuilder.cs