Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA384.cs / 2 / HMACSHA384.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // HMACSHA384.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public class HMACSHA384 : HMAC { private bool m_useLegacyBlockSize = Utils._ProduceLegacyHmacValues(); // // public constructors // public HMACSHA384 () : this (Utils.GenerateRandom(128)) {} public HMACSHA384 (byte[] key) { Utils._ShowLegacyHmacWarning(); m_hashName = "SHA384"; m_hash1 = new SHA384Managed(); m_hash2 = new SHA384Managed(); HashSizeValue = 384; BlockSizeValue = BlockSize; base.InitializeKey(key); } private int BlockSize { get { return m_useLegacyBlockSize ? 64 : 128; } } // See code:System.Security.Cryptography.HMACSHA512.ProduceLegacyHmacValues public bool ProduceLegacyHmacValues { get { return m_useLegacyBlockSize; } set { m_useLegacyBlockSize = value; BlockSizeValue = BlockSize; InitializeKey(KeyValue); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Helper.cs
- ToolbarAUtomationPeer.cs
- X509CertificateStore.cs
- DeadCharTextComposition.cs
- SendKeys.cs
- InputReferenceExpression.cs
- XmlDownloadManager.cs
- FormClosedEvent.cs
- AssemblyCollection.cs
- XPathAncestorIterator.cs
- UserCancellationException.cs
- xmlsaver.cs
- InputProviderSite.cs
- TrustExchangeException.cs
- DropDownButton.cs
- UdpSocketReceiveManager.cs
- WindowsEditBoxRange.cs
- EdmFunction.cs
- SmiGettersStream.cs
- KnownTypes.cs
- DeferrableContentConverter.cs
- IntranetCredentialPolicy.cs
- TTSEvent.cs
- MemberDescriptor.cs
- WebPartEditorOkVerb.cs
- COM2TypeInfoProcessor.cs
- figurelengthconverter.cs
- DataGridViewColumn.cs
- XmlAnyAttributeAttribute.cs
- UIElement.cs
- BoolExpressionVisitors.cs
- BamlBinaryWriter.cs
- SolidColorBrush.cs
- MenuTracker.cs
- Rss20FeedFormatter.cs
- bindurihelper.cs
- LineVisual.cs
- RadioButtonPopupAdapter.cs
- ObjectViewEntityCollectionData.cs
- ItemCollection.cs
- BitmapEffectvisualstate.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Socket.cs
- ViewCellRelation.cs
- VsPropertyGrid.cs
- FixedPageAutomationPeer.cs
- ByteRangeDownloader.cs
- HtmlTableCell.cs
- CommonProperties.cs
- UserControl.cs
- ConcatQueryOperator.cs
- EventLogTraceListener.cs
- PriorityBinding.cs
- BlockUIContainer.cs
- CookieProtection.cs
- WorkflowServiceInstance.cs
- AutomationPropertyInfo.cs
- HtmlImage.cs
- RefType.cs
- OracleTransaction.cs
- BinaryQueryOperator.cs
- CodeDomComponentSerializationService.cs
- FormatterServices.cs
- ReadOnlyPermissionSet.cs
- SqlMethodCallConverter.cs
- CheckBoxAutomationPeer.cs
- SchemaElement.cs
- _FtpControlStream.cs
- InvalidCardException.cs
- ListDataBindEventArgs.cs
- X509Extension.cs
- MD5HashHelper.cs
- PermissionSetTriple.cs
- NameNode.cs
- CompilerScope.Storage.cs
- XpsFilter.cs
- TrailingSpaceComparer.cs
- Thread.cs
- NumberFormatter.cs
- XsltCompileContext.cs
- XmlHierarchicalDataSourceView.cs
- TextPatternIdentifiers.cs
- TemplatingOptionsDialog.cs
- AsymmetricSignatureDeformatter.cs
- TemplateControl.cs
- LineBreak.cs
- SecurityKeyType.cs
- MethodExpr.cs
- HttpCacheVary.cs
- InvariantComparer.cs
- categoryentry.cs
- MetadataItemSerializer.cs
- ProxyAttribute.cs
- FixedSOMLineRanges.cs
- EntityDataSourceDataSelection.cs
- RC2.cs
- XmlSchemaSimpleContentRestriction.cs
- TreeView.cs
- basecomparevalidator.cs
- FacetDescriptionElement.cs