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
- ConfigXmlReader.cs
- ConfigurationCollectionAttribute.cs
- CollectionConverter.cs
- TextRunCacheImp.cs
- XmlNodeReader.cs
- ToolStripContentPanel.cs
- ResourceDisplayNameAttribute.cs
- DetailsViewDeletedEventArgs.cs
- OperationPickerDialog.cs
- FullTextLine.cs
- ToolStripSeparatorRenderEventArgs.cs
- ContextDataSourceContextData.cs
- PersistNameAttribute.cs
- CatalogZone.cs
- AsymmetricKeyExchangeDeformatter.cs
- SoapCodeExporter.cs
- FtpCachePolicyElement.cs
- SQLBytes.cs
- AssertSection.cs
- PerspectiveCamera.cs
- BaseParser.cs
- Baml2006Reader.cs
- DynamicValueConverter.cs
- XmlDocumentSerializer.cs
- FontResourceCache.cs
- TraceHandlerErrorFormatter.cs
- BindingWorker.cs
- ScopelessEnumAttribute.cs
- HtmlControl.cs
- XmlWrappingReader.cs
- NonSerializedAttribute.cs
- Directory.cs
- BlobPersonalizationState.cs
- CSharpCodeProvider.cs
- MouseCaptureWithinProperty.cs
- FileUtil.cs
- QueryContinueDragEventArgs.cs
- WebPartExportVerb.cs
- BidOverLoads.cs
- DirectionalLight.cs
- IdentifierCollection.cs
- DataGridViewCellCollection.cs
- ConnectionStringsExpressionBuilder.cs
- ScriptingProfileServiceSection.cs
- SqlDataSourceCommandEventArgs.cs
- LineGeometry.cs
- FloaterBaseParagraph.cs
- Compilation.cs
- ControlIdConverter.cs
- SystemTcpStatistics.cs
- DESCryptoServiceProvider.cs
- IndexedString.cs
- StreamWithDictionary.cs
- RemotingConfiguration.cs
- ImageCodecInfo.cs
- SafeFileMapViewHandle.cs
- SqlEnums.cs
- StringResourceManager.cs
- ContentHostHelper.cs
- GridItemProviderWrapper.cs
- Convert.cs
- ScriptingAuthenticationServiceSection.cs
- CroppedBitmap.cs
- SolidColorBrush.cs
- CallSiteOps.cs
- FlagsAttribute.cs
- ListItemParagraph.cs
- OleDbConnectionInternal.cs
- LogStream.cs
- InheritanceContextHelper.cs
- SystemTcpStatistics.cs
- RectangleGeometry.cs
- WebPartConnectVerb.cs
- X509SecurityTokenProvider.cs
- OutputCacheProfileCollection.cs
- FieldAccessException.cs
- WaitHandle.cs
- CheckBoxFlatAdapter.cs
- WmlObjectListAdapter.cs
- FileChangesMonitor.cs
- ScheduleChanges.cs
- HtmlLabelAdapter.cs
- XmlReflectionMember.cs
- UnknownBitmapDecoder.cs
- DataStreams.cs
- GPStream.cs
- ValuePattern.cs
- Utils.cs
- ClientTargetCollection.cs
- safemediahandle.cs
- CollectionChangedEventManager.cs
- WsatProxy.cs
- HostProtectionPermission.cs
- SelectedDatesCollection.cs
- Win32.cs
- PixelFormat.cs
- RealProxy.cs
- Query.cs
- IdentityHolder.cs
- CompilationRelaxations.cs