Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Security / Cryptography / AsymmetricSignatureDeformatter.cs / 1 / AsymmetricSignatureDeformatter.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // AsymmetricSignatureDeformatter.cs // namespace System.Security.Cryptography { using System.Security; using System; [System.Runtime.InteropServices.ComVisible(true)] public abstract class AsymmetricSignatureDeformatter { // // protected constructors // protected AsymmetricSignatureDeformatter() { } // // public methods // abstract public void SetKey(AsymmetricAlgorithm key); abstract public void SetHashAlgorithm(String strName); public virtual bool VerifySignature(HashAlgorithm hash, byte[] rgbSignature) { if (hash == null) throw new ArgumentNullException("hash"); SetHashAlgorithm(hash.ToString()); return VerifySignature(hash.Hash, rgbSignature); } abstract public bool VerifySignature(byte[] rgbHash, byte[] rgbSignature); } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlNodeComparer.cs
- CryptoHelper.cs
- SelectionManager.cs
- LogicalExpr.cs
- SerializerProvider.cs
- SharedUtils.cs
- ColorPalette.cs
- ManagementObjectSearcher.cs
- UrlPath.cs
- EmbeddedMailObject.cs
- UrlPath.cs
- UInt32Storage.cs
- ConstructorExpr.cs
- FormViewDeleteEventArgs.cs
- UnsafeNativeMethods.cs
- CollectionChangedEventManager.cs
- PathSegmentCollection.cs
- SrgsElementList.cs
- InputScopeNameConverter.cs
- RelatedPropertyManager.cs
- DeferrableContent.cs
- Number.cs
- Config.cs
- _IPv4Address.cs
- OleDbError.cs
- TimeSpanConverter.cs
- ApplicationSecurityInfo.cs
- IgnoreFlushAndCloseStream.cs
- FullTextState.cs
- AnnotationResourceChangedEventArgs.cs
- ProxyWebPart.cs
- RouteParameter.cs
- SecureUICommand.cs
- CallId.cs
- UnconditionalPolicy.cs
- XmlValueConverter.cs
- ProxyElement.cs
- ProjectedWrapper.cs
- EndpointPerformanceCounters.cs
- Pair.cs
- _TransmitFileOverlappedAsyncResult.cs
- DataGridViewDataConnection.cs
- SpeechRecognitionEngine.cs
- ScriptControlManager.cs
- DataGridViewDataErrorEventArgs.cs
- EntitySetBase.cs
- CheckBox.cs
- FeatureSupport.cs
- DbConnectionClosed.cs
- ConfigurationLoader.cs
- ToolstripProfessionalRenderer.cs
- ReliabilityContractAttribute.cs
- OracleRowUpdatedEventArgs.cs
- ImportedNamespaceContextItem.cs
- ViewEvent.cs
- PageContent.cs
- FileUtil.cs
- Section.cs
- DataContractSerializerOperationFormatter.cs
- DesignBindingValueUIHandler.cs
- WsatServiceCertificate.cs
- WebPartZoneCollection.cs
- ConfigErrorGlyph.cs
- updateconfighost.cs
- SqlDataSourceFilteringEventArgs.cs
- ComponentChangedEvent.cs
- ConcurrentStack.cs
- PersistenceProviderFactory.cs
- SQLByteStorage.cs
- CryptoApi.cs
- EntityDataSourceSelectedEventArgs.cs
- XmlSchemaAppInfo.cs
- XmlReflectionMember.cs
- HttpClientCertificate.cs
- EventEntry.cs
- Metadata.cs
- LineBreakRecord.cs
- CancellationTokenSource.cs
- Int32KeyFrameCollection.cs
- CollectionViewGroup.cs
- ExpressionNormalizer.cs
- SocketException.cs
- AlphabeticalEnumConverter.cs
- RootBuilder.cs
- __Filters.cs
- HtmlWindow.cs
- WebPartMinimizeVerb.cs
- TextElement.cs
- InputReferenceExpression.cs
- InkCanvasFeedbackAdorner.cs
- KeyboardDevice.cs
- LogicalMethodInfo.cs
- EventProvider.cs
- RegistryKey.cs
- LexicalChunk.cs
- ToolStripCodeDomSerializer.cs
- MemberDescriptor.cs
- Style.cs
- VisualTreeUtils.cs
- FamilyMap.cs