Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA384.cs / 1305376 / 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)) {} [System.Security.SecuritySafeCritical] // auto-generated public HMACSHA384 (byte[] key) { 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ValidationError.cs
- ColumnMap.cs
- Mouse.cs
- ListItemCollection.cs
- PackWebRequest.cs
- EnumBuilder.cs
- TreeNodeSelectionProcessor.cs
- SafeEventLogWriteHandle.cs
- RawMouseInputReport.cs
- TimeSpanHelper.cs
- NativeMethodsOther.cs
- SessionViewState.cs
- Odbc32.cs
- DefaultValidator.cs
- PointKeyFrameCollection.cs
- OdbcConnectionString.cs
- DataRow.cs
- Int16Storage.cs
- WindowsFormsSectionHandler.cs
- DbBuffer.cs
- MappingSource.cs
- WpfXamlType.cs
- PeerEndPoint.cs
- ToolboxDataAttribute.cs
- OpCopier.cs
- BreakRecordTable.cs
- RoutedEventArgs.cs
- SafeNativeMethods.cs
- SecurityResources.cs
- ReferenceAssemblyAttribute.cs
- XmlDataSourceNodeDescriptor.cs
- TableItemStyle.cs
- WindowsTokenRoleProvider.cs
- ComEventsSink.cs
- WorkflowQueueInfo.cs
- CngProvider.cs
- ComponentTray.cs
- Roles.cs
- AsynchronousChannel.cs
- PageCodeDomTreeGenerator.cs
- GuidelineSet.cs
- BitmapDecoder.cs
- PointAnimationUsingKeyFrames.cs
- SqlFlattener.cs
- DesignBindingEditor.cs
- InfoCardKeyedHashAlgorithm.cs
- FunctionNode.cs
- UrlAuthFailedErrorFormatter.cs
- StrokeCollection.cs
- TextParagraph.cs
- ListViewContainer.cs
- DiscoveryVersionConverter.cs
- FormViewUpdatedEventArgs.cs
- TrackingMemoryStreamFactory.cs
- BStrWrapper.cs
- VideoDrawing.cs
- DataBoundControl.cs
- DataControlFieldHeaderCell.cs
- XPathCompileException.cs
- SafeNativeMethods.cs
- DbBuffer.cs
- TableLayoutCellPaintEventArgs.cs
- InputProcessorProfiles.cs
- StylusPoint.cs
- RowToFieldTransformer.cs
- ObjectQueryExecutionPlan.cs
- securestring.cs
- CompilerState.cs
- InstanceBehavior.cs
- DataBoundLiteralControl.cs
- FontNamesConverter.cs
- BitSet.cs
- SiteMapDataSource.cs
- CodeDefaultValueExpression.cs
- ManualWorkflowSchedulerService.cs
- AttributeQuery.cs
- FileDialog_Vista.cs
- WebEncodingValidatorAttribute.cs
- SolidBrush.cs
- Debug.cs
- StructuralType.cs
- SmiContextFactory.cs
- PropertyChangingEventArgs.cs
- MouseEventArgs.cs
- WhitespaceRuleReader.cs
- GPPOINTF.cs
- MiniLockedBorderGlyph.cs
- MarshalByValueComponent.cs
- WorkflowHostingResponseContext.cs
- CodeObject.cs
- HelloOperationCD1AsyncResult.cs
- TraceInternal.cs
- ValueChangedEventManager.cs
- XmlDictionaryReader.cs
- PartialCachingControl.cs
- CrossSiteScriptingValidation.cs
- MailMessageEventArgs.cs
- IncomingWebRequestContext.cs
- CodeNamespace.cs
- StreamGeometry.cs