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
- TextRunCache.cs
- COSERVERINFO.cs
- TargetInvocationException.cs
- FileUtil.cs
- CollectionChangedEventManager.cs
- DataGridViewTextBoxCell.cs
- Blend.cs
- ListItemParagraph.cs
- DesignerSerializationOptionsAttribute.cs
- ItemCheckEvent.cs
- DataControlButton.cs
- ManagementObjectCollection.cs
- MouseBinding.cs
- PropertyStore.cs
- TableRowCollection.cs
- XmlQueryContext.cs
- CodeGotoStatement.cs
- PropertyGridDesigner.cs
- DocumentViewerHelper.cs
- XmlCharacterData.cs
- SchemaImporter.cs
- SqlDataReader.cs
- StyleCollectionEditor.cs
- PermissionAttributes.cs
- FilterableAttribute.cs
- StringAnimationUsingKeyFrames.cs
- SafeRightsManagementHandle.cs
- TableRow.cs
- XmlWrappingReader.cs
- LogArchiveSnapshot.cs
- PersonalizationEntry.cs
- TextAutomationPeer.cs
- ListViewEditEventArgs.cs
- LightweightCodeGenerator.cs
- DesignerOptions.cs
- DictionaryBase.cs
- OleDbException.cs
- ScrollChrome.cs
- AutomationPeer.cs
- OperatingSystem.cs
- CompleteWizardStep.cs
- CheckBox.cs
- ClientScriptManager.cs
- BaseParser.cs
- Literal.cs
- UniqueConstraint.cs
- DesignerForm.cs
- JapaneseCalendar.cs
- Matrix.cs
- SubMenuStyle.cs
- SHA1Cng.cs
- CodeSubDirectoriesCollection.cs
- XslTransform.cs
- FormattedText.cs
- BinaryObjectReader.cs
- CharacterBufferReference.cs
- PenContext.cs
- Wizard.cs
- FrameworkElement.cs
- FormsAuthenticationModule.cs
- IntranetCredentialPolicy.cs
- X509ChainElement.cs
- Comparer.cs
- BindingContext.cs
- SplitterCancelEvent.cs
- Misc.cs
- DynamicPropertyReader.cs
- WindowsPen.cs
- HandlerBase.cs
- IxmlLineInfo.cs
- ConstructorNeedsTagAttribute.cs
- ComContractElementCollection.cs
- UserValidatedEventArgs.cs
- ProfileParameter.cs
- OLEDB_Util.cs
- WebControlsSection.cs
- LineUtil.cs
- XhtmlTextWriter.cs
- PlatformCulture.cs
- NavigationService.cs
- BamlResourceContent.cs
- WmlMobileTextWriter.cs
- ResourcesChangeInfo.cs
- TextPenaltyModule.cs
- SqlFileStream.cs
- SystemSounds.cs
- RemotingException.cs
- BrowserDefinitionCollection.cs
- PassportPrincipal.cs
- ObjectQuery.cs
- SubclassTypeValidator.cs
- SecurityUtils.cs
- Parser.cs
- ScaleTransform.cs
- SettingsAttributes.cs
- UnknownBitmapDecoder.cs
- ApplicationFileParser.cs
- XmlAttributeAttribute.cs
- MatchingStyle.cs
- Ipv6Element.cs