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
- NullRuntimeConfig.cs
- SendOperation.cs
- ControlCollection.cs
- SQLString.cs
- ValidationManager.cs
- SqlMethodAttribute.cs
- _LocalDataStore.cs
- NetNamedPipeSecurityElement.cs
- ListControlConvertEventArgs.cs
- MetadataItemSerializer.cs
- AxHost.cs
- Int16AnimationUsingKeyFrames.cs
- ExceptionRoutedEventArgs.cs
- HttpRuntime.cs
- EpmCustomContentSerializer.cs
- CompositeTypefaceMetrics.cs
- XmlCodeExporter.cs
- XmlElementAttribute.cs
- HtmlTableCell.cs
- EpmTargetPathSegment.cs
- StreamWriter.cs
- ISAPIWorkerRequest.cs
- UpdatePanelControlTrigger.cs
- XmlSchemas.cs
- DataMisalignedException.cs
- ellipse.cs
- ContextMenuStrip.cs
- System.Data.OracleClient_BID.cs
- SerializationUtility.cs
- ModifierKeysValueSerializer.cs
- ComNativeDescriptor.cs
- CompositeKey.cs
- HttpHandlersSection.cs
- RowType.cs
- ObjectSecurity.cs
- GridViewRow.cs
- GroupBoxRenderer.cs
- diagnosticsswitches.cs
- WinEventHandler.cs
- HttpStreamXmlDictionaryReader.cs
- SourceInterpreter.cs
- DataFormats.cs
- PersonalizableAttribute.cs
- NativeMethods.cs
- SourceFilter.cs
- FontFamilyIdentifier.cs
- DataKey.cs
- PropertyPushdownHelper.cs
- EncodingTable.cs
- GridViewRow.cs
- NetCodeGroup.cs
- OraclePermissionAttribute.cs
- TimeStampChecker.cs
- ACE.cs
- ServiceThrottle.cs
- WebPartConnectionsEventArgs.cs
- LockCookie.cs
- TableLayoutPanel.cs
- Help.cs
- NavigatingCancelEventArgs.cs
- EmptyEnumerable.cs
- ZipIORawDataFileBlock.cs
- XPathNodeInfoAtom.cs
- EventTask.cs
- ContainerParagraph.cs
- _ChunkParse.cs
- SequenceNumber.cs
- DropDownButton.cs
- DataControlExtensions.cs
- BitmapImage.cs
- Thumb.cs
- StatusBar.cs
- SqlParameterizer.cs
- ExclusiveTcpListener.cs
- DataTableMappingCollection.cs
- SplitterPanelDesigner.cs
- DataTableCollection.cs
- SoapIgnoreAttribute.cs
- DataBoundControlHelper.cs
- ZipIOExtraField.cs
- UserMapPath.cs
- SqlStatistics.cs
- ValidationUtility.cs
- ResourceSet.cs
- BidPrivateBase.cs
- CursorConverter.cs
- XmlConvert.cs
- DropTarget.cs
- SchemaImporter.cs
- URLIdentityPermission.cs
- TransformedBitmap.cs
- EventListenerClientSide.cs
- OdbcCommand.cs
- OleStrCAMarshaler.cs
- WS2007FederationHttpBindingElement.cs
- XsltOutput.cs
- AssociationEndMember.cs
- CachedFontFace.cs
- ItemsPresenter.cs
- IdentitySection.cs