Code:
/ FX-1434 / FX-1434 / 1.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
- XPathAncestorQuery.cs
- ToolboxComponentsCreatingEventArgs.cs
- DataControlLinkButton.cs
- BindingSource.cs
- DataSetMappper.cs
- XmlSchemaInclude.cs
- TransformerInfo.cs
- ImportDesigner.xaml.cs
- X509ChainElement.cs
- panel.cs
- SqlNodeAnnotation.cs
- CallbackTimeoutsElement.cs
- FixedHighlight.cs
- SiteMapHierarchicalDataSourceView.cs
- ConstructorNeedsTagAttribute.cs
- QilUnary.cs
- clipboard.cs
- control.ime.cs
- Cast.cs
- DbConnectionStringCommon.cs
- TextElement.cs
- PropertyGridEditorPart.cs
- Zone.cs
- OdbcConnectionFactory.cs
- TemplateContent.cs
- WebPartCatalogAddVerb.cs
- EmptyImpersonationContext.cs
- CultureInfo.cs
- Hyperlink.cs
- SmtpReplyReader.cs
- Win32Exception.cs
- DataPagerField.cs
- TaskbarItemInfo.cs
- SimpleTextLine.cs
- ApplicationTrust.cs
- PrinterResolution.cs
- MsmqIntegrationElement.cs
- FigureParagraph.cs
- MenuAutomationPeer.cs
- DataServiceClientException.cs
- RankException.cs
- SmiEventStream.cs
- MethodRental.cs
- DESCryptoServiceProvider.cs
- Guid.cs
- ListItemConverter.cs
- unsafeIndexingFilterStream.cs
- GACMembershipCondition.cs
- FileVersionInfo.cs
- GuidelineSet.cs
- TraversalRequest.cs
- TransformGroup.cs
- RealProxy.cs
- PkcsUtils.cs
- LambdaCompiler.Unary.cs
- DataServiceProviderWrapper.cs
- SamlSubject.cs
- SqlWebEventProvider.cs
- ListDictionary.cs
- SqlXml.cs
- RelationshipEndMember.cs
- MD5CryptoServiceProvider.cs
- ToolStripLocationCancelEventArgs.cs
- Int32Rect.cs
- DataGridRow.cs
- ToggleButtonAutomationPeer.cs
- CommentEmitter.cs
- NegotiateStream.cs
- XPathItem.cs
- SqlDataSourceCommandEventArgs.cs
- MailMessage.cs
- SplashScreen.cs
- MobileControl.cs
- PrincipalPermission.cs
- SelectionProviderWrapper.cs
- WebBrowserHelper.cs
- MediaEntryAttribute.cs
- FusionWrap.cs
- RijndaelManaged.cs
- DecoderFallback.cs
- LoginName.cs
- EdmToObjectNamespaceMap.cs
- OutputCacheSettings.cs
- XmlSchemas.cs
- SoapReflectionImporter.cs
- DataListGeneralPage.cs
- GroupItemAutomationPeer.cs
- TextEncodedRawTextWriter.cs
- ForeignKeyConstraint.cs
- RayMeshGeometry3DHitTestResult.cs
- XMLUtil.cs
- FormViewPagerRow.cs
- TextControlDesigner.cs
- FontStretchConverter.cs
- ContractsBCL.cs
- TextBreakpoint.cs
- CompModHelpers.cs
- SemaphoreSecurity.cs
- SamlSubject.cs
- X509PeerCertificateAuthenticationElement.cs