Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / Rijndael.cs / 1305376 / Rijndael.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // Rijndael.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public abstract class Rijndael : SymmetricAlgorithm { private static KeySizes[] s_legalBlockSizes = { new KeySizes(128, 256, 64) }; private static KeySizes[] s_legalKeySizes = { new KeySizes(128, 256, 64) }; // // protected constructors // protected Rijndael() { KeySizeValue = 256; BlockSizeValue = 128; FeedbackSizeValue = BlockSizeValue; LegalBlockSizesValue = s_legalBlockSizes; LegalKeySizesValue = s_legalKeySizes; } // // public methods // [System.Security.SecuritySafeCritical] // auto-generated new static public Rijndael Create() { return Create("System.Security.Cryptography.Rijndael"); } [System.Security.SecuritySafeCritical] // auto-generated new static public Rijndael Create(String algName) { return (Rijndael) CryptoConfig.CreateFromName(algName); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // Rijndael.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public abstract class Rijndael : SymmetricAlgorithm { private static KeySizes[] s_legalBlockSizes = { new KeySizes(128, 256, 64) }; private static KeySizes[] s_legalKeySizes = { new KeySizes(128, 256, 64) }; // // protected constructors // protected Rijndael() { KeySizeValue = 256; BlockSizeValue = 128; FeedbackSizeValue = BlockSizeValue; LegalBlockSizesValue = s_legalBlockSizes; LegalKeySizesValue = s_legalKeySizes; } // // public methods // [System.Security.SecuritySafeCritical] // auto-generated new static public Rijndael Create() { return Create("System.Security.Cryptography.Rijndael"); } [System.Security.SecuritySafeCritical] // auto-generated new static public Rijndael Create(String algName) { return (Rijndael) CryptoConfig.CreateFromName(algName); } } } // 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
- Emitter.cs
- Int64AnimationBase.cs
- FileVersionInfo.cs
- ErrorLog.cs
- Update.cs
- BooleanSwitch.cs
- bidPrivateBase.cs
- ExtendedPropertyDescriptor.cs
- ISSmlParser.cs
- EncodingTable.cs
- InputProcessorProfilesLoader.cs
- HttpConfigurationSystem.cs
- ResolveRequestResponseAsyncResult.cs
- MessageBox.cs
- ResourceFallbackManager.cs
- XmlUnspecifiedAttribute.cs
- Event.cs
- ClassValidator.cs
- NavigationFailedEventArgs.cs
- AuthenticatedStream.cs
- MulticastDelegate.cs
- PowerModeChangedEventArgs.cs
- RootBrowserWindowProxy.cs
- BitmapScalingModeValidation.cs
- SafeRightsManagementSessionHandle.cs
- ThreadInterruptedException.cs
- wgx_sdk_version.cs
- DataGridViewComboBoxEditingControl.cs
- ResponseStream.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- OpCodes.cs
- SafeRightsManagementHandle.cs
- ManagedIStream.cs
- NativeRightsManagementAPIsStructures.cs
- ValueQuery.cs
- followingquery.cs
- DataGridRelationshipRow.cs
- OleDbMetaDataFactory.cs
- SystemResources.cs
- ResourceProviderFactory.cs
- ObjectQueryProvider.cs
- KeyBinding.cs
- Matrix3DStack.cs
- QuaternionRotation3D.cs
- ZipIOCentralDirectoryBlock.cs
- RuntimeConfigurationRecord.cs
- UpdatePanel.cs
- CustomAttribute.cs
- ExclusiveCanonicalizationTransform.cs
- MessageVersion.cs
- XmlQueryCardinality.cs
- TimeZone.cs
- ValuePattern.cs
- DataException.cs
- PassportAuthenticationModule.cs
- TemplateInstanceAttribute.cs
- VerticalAlignConverter.cs
- UIElement3DAutomationPeer.cs
- EventMappingSettingsCollection.cs
- KnownIds.cs
- InstanceContextManager.cs
- TemplatedAdorner.cs
- ISO2022Encoding.cs
- DataStreamFromComStream.cs
- Region.cs
- CrossAppDomainChannel.cs
- PkcsUtils.cs
- CompilerHelpers.cs
- VBCodeProvider.cs
- FileDataSourceCache.cs
- ObjectQueryProvider.cs
- SizeChangedInfo.cs
- FlowDocumentPaginator.cs
- ToolStripContentPanelRenderEventArgs.cs
- TemplateBuilder.cs
- AttributeQuery.cs
- AuthenticationManager.cs
- DesignTimeParseData.cs
- HyperLinkColumn.cs
- CollectionBuilder.cs
- ResourceLoader.cs
- TextDocumentView.cs
- TextTreeText.cs
- DataServiceClientException.cs
- WebColorConverter.cs
- ReceiveContextCollection.cs
- TypeConverterBase.cs
- UpdateManifestForBrowserApplication.cs
- TaskHelper.cs
- ContextBase.cs
- EUCJPEncoding.cs
- DelegatingTypeDescriptionProvider.cs
- ShimAsPublicXamlType.cs
- BinaryMethodMessage.cs
- ToolStripManager.cs
- Filter.cs
- RawTextInputReport.cs
- DbCommandTree.cs
- RegexMatchCollection.cs
- CodeParameterDeclarationExpressionCollection.cs