Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Security / Cryptography / ECDsa.cs / 1305376 / ECDsa.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== using System; namespace System.Security.Cryptography { ////// Base class for implementations of elliptic curve DSA /// [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] public abstract class ECDsa : AsymmetricAlgorithm { public override string KeyExchangeAlgorithm { get { return null; } } public override string SignatureAlgorithm { get { return "ECDsa"; } } // // Creation factory methods // public static new ECDsa Create() { return Create(typeof(ECDsaCng).FullName); } public static new ECDsa Create(string algorithm) { if (algorithm == null) { throw new ArgumentNullException("algorithm"); } return CryptoConfig.CreateFromName(algorithm) as ECDsa; } // // Signature operations // public abstract byte[] SignHash(byte[] hash); public abstract bool VerifyHash(byte[] hash, byte[] signature); } } // 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
- XmlArrayItemAttribute.cs
- HttpInputStream.cs
- TypeElementCollection.cs
- CatalogZoneBase.cs
- RunInstallerAttribute.cs
- SurrogateSelector.cs
- ServiceDocumentFormatter.cs
- CustomActivityDesigner.cs
- QueryStringConverter.cs
- CodeAccessSecurityEngine.cs
- SiteMapSection.cs
- TextParagraph.cs
- unsafenativemethodsother.cs
- XsltContext.cs
- CodeNamespaceImport.cs
- BamlRecordReader.cs
- StateFinalizationDesigner.cs
- MachineSettingsSection.cs
- ProfileParameter.cs
- Subtract.cs
- XXXInfos.cs
- LinqDataSourceDeleteEventArgs.cs
- Button.cs
- LayoutManager.cs
- GridItem.cs
- elementinformation.cs
- SplineQuaternionKeyFrame.cs
- SmiEventSink_Default.cs
- PropertyPathConverter.cs
- HttpRequestTraceRecord.cs
- GridView.cs
- DbProviderManifest.cs
- ComponentResourceManager.cs
- HashSetEqualityComparer.cs
- ConstructorExpr.cs
- SecurityTokenAuthenticator.cs
- Normalization.cs
- UnsafeNativeMethodsTablet.cs
- InvariantComparer.cs
- TextProperties.cs
- Soap.cs
- DynamicRendererThreadManager.cs
- HostProtectionException.cs
- RemotingException.cs
- FtpWebResponse.cs
- ErrorsHelper.cs
- Matrix3DValueSerializer.cs
- DebugView.cs
- TextEditorParagraphs.cs
- AliasGenerator.cs
- PageThemeBuildProvider.cs
- _IPv4Address.cs
- DaylightTime.cs
- XmlAttributeCollection.cs
- Rect.cs
- CompatibleIComparer.cs
- DbConnectionHelper.cs
- PreviewPageInfo.cs
- ListenerBinder.cs
- CalendarDateChangedEventArgs.cs
- WorkflowNamespace.cs
- InvokeMethodActivity.cs
- ControlEvent.cs
- XmlSerializerSection.cs
- uribuilder.cs
- XmlDigitalSignatureProcessor.cs
- SHA512CryptoServiceProvider.cs
- DeviceContexts.cs
- BoundPropertyEntry.cs
- TextEffect.cs
- ControlDesigner.cs
- CompilerParameters.cs
- BitmapEffectDrawingContextWalker.cs
- EventHandlersStore.cs
- MediaSystem.cs
- SqlBooleanMismatchVisitor.cs
- RegexInterpreter.cs
- PartitionerStatic.cs
- AmbiguousMatchException.cs
- KeysConverter.cs
- FileLogRecordStream.cs
- PagesSection.cs
- EntityProxyFactory.cs
- SimpleTypesSurrogate.cs
- FileFormatException.cs
- ListBoxItem.cs
- ServiceOperation.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- BackgroundFormatInfo.cs
- ToolStripSystemRenderer.cs
- ConsumerConnectionPoint.cs
- AdCreatedEventArgs.cs
- FieldMetadata.cs
- ClassImporter.cs
- ImageClickEventArgs.cs
- DetailsViewDeletedEventArgs.cs
- RawUIStateInputReport.cs
- TreeView.cs
- RunWorkerCompletedEventArgs.cs
- ButtonFieldBase.cs