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
- XmlFormatExtensionAttribute.cs
- SqlDataSourceView.cs
- Camera.cs
- GenericWebPart.cs
- BamlWriter.cs
- SettingsSection.cs
- ResourceReferenceExpressionConverter.cs
- TextServicesPropertyRanges.cs
- HtmlHistory.cs
- XmlIlGenerator.cs
- LayoutEditorPart.cs
- CodeAccessPermission.cs
- XDRSchema.cs
- Rules.cs
- QueryCursorEventArgs.cs
- SqlVisitor.cs
- ToolStripDropDownButton.cs
- DataListItemEventArgs.cs
- ResetableIterator.cs
- InternalRelationshipCollection.cs
- ToolStripContentPanel.cs
- DelegateHelpers.cs
- Function.cs
- MailMessageEventArgs.cs
- KeyedCollection.cs
- EngineSiteSapi.cs
- TextTreeObjectNode.cs
- DnsCache.cs
- ServiceChannelFactory.cs
- KerberosReceiverSecurityToken.cs
- LinkTarget.cs
- ObjectContext.cs
- RecipientInfo.cs
- SequenceRangeCollection.cs
- SqlUnionizer.cs
- AnchoredBlock.cs
- RecordBuilder.cs
- PrintingPermissionAttribute.cs
- ExtensionDataReader.cs
- EmbeddedObject.cs
- AccessorTable.cs
- EncodingConverter.cs
- SafeViewOfFileHandle.cs
- WebServiceEnumData.cs
- InvokePatternIdentifiers.cs
- SortedList.cs
- DebugHandleTracker.cs
- ElapsedEventArgs.cs
- SerializerDescriptor.cs
- ContentValidator.cs
- TabControlToolboxItem.cs
- MasterPageBuildProvider.cs
- AppearanceEditorPart.cs
- basemetadatamappingvisitor.cs
- PrintPreviewGraphics.cs
- InstanceLockLostException.cs
- CodeAssignStatement.cs
- NativeMethods.cs
- CultureInfoConverter.cs
- SecurityElement.cs
- SQLBinary.cs
- ListMarkerLine.cs
- MediaPlayer.cs
- EventSinkHelperWriter.cs
- CapabilitiesAssignment.cs
- TableCellAutomationPeer.cs
- MachineKeySection.cs
- CodeGroup.cs
- UnaryNode.cs
- PasswordRecovery.cs
- SelectingProviderEventArgs.cs
- WithParamAction.cs
- MasterPageBuildProvider.cs
- ValueUnavailableException.cs
- ArrangedElement.cs
- DataRowCollection.cs
- FormatterConverter.cs
- ConnectionPoint.cs
- SQLByteStorage.cs
- XmlSiteMapProvider.cs
- TrueReadOnlyCollection.cs
- InProcStateClientManager.cs
- AttachmentService.cs
- UrlPath.cs
- CheckBoxList.cs
- FragmentNavigationEventArgs.cs
- TreeNodeCollection.cs
- ArrayElementGridEntry.cs
- SocketStream.cs
- DataProtection.cs
- XmlSchemaSimpleContentRestriction.cs
- DataGridItemEventArgs.cs
- LayoutManager.cs
- XmlSchemaInclude.cs
- RowUpdatingEventArgs.cs
- TextBox.cs
- FamilyTypeface.cs
- RuleElement.cs
- XmlSchema.cs
- RegisteredHiddenField.cs