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
- WebPartConnection.cs
- AssemblyResourceLoader.cs
- BatchParser.cs
- TextServicesProperty.cs
- ObjectParameter.cs
- RootProfilePropertySettingsCollection.cs
- Thumb.cs
- TextFindEngine.cs
- ImageIndexConverter.cs
- CmsInterop.cs
- Debug.cs
- XsdDataContractExporter.cs
- Freezable.cs
- WindowsGraphics2.cs
- COSERVERINFO.cs
- Converter.cs
- EventProvider.cs
- LeftCellWrapper.cs
- StorageEntityContainerMapping.cs
- DataStreamFromComStream.cs
- SHA1Managed.cs
- MediaScriptCommandRoutedEventArgs.cs
- SecurityContext.cs
- SemanticAnalyzer.cs
- WebBrowserBase.cs
- Ops.cs
- TabItemWrapperAutomationPeer.cs
- RtfFormatStack.cs
- TemplateBindingExtensionConverter.cs
- RelationshipManager.cs
- RegexCompiler.cs
- ExternalException.cs
- LocatorPart.cs
- DataGridViewCellCollection.cs
- StringAttributeCollection.cs
- TextSimpleMarkerProperties.cs
- IIS7WorkerRequest.cs
- CapabilitiesUse.cs
- ValidationErrorEventArgs.cs
- Base64Stream.cs
- SoapHttpTransportImporter.cs
- ColorConverter.cs
- Header.cs
- XmlSerializerNamespaces.cs
- Application.cs
- ZipPackagePart.cs
- CopyOfAction.cs
- ManualWorkflowSchedulerService.cs
- Win32.cs
- AtomPub10CategoriesDocumentFormatter.cs
- LocalIdKeyIdentifierClause.cs
- QilSortKey.cs
- HttpRuntime.cs
- WorkflowTransactionService.cs
- TreeNodeSelectionProcessor.cs
- RenderContext.cs
- ProfilePropertyMetadata.cs
- HttpCapabilitiesEvaluator.cs
- AsyncPostBackTrigger.cs
- Vector3dCollection.cs
- DataObjectCopyingEventArgs.cs
- ValidationSummary.cs
- RoleGroupCollection.cs
- RegistryPermission.cs
- VisualBrush.cs
- ColorBlend.cs
- FixedPosition.cs
- HtmlToClrEventProxy.cs
- DurationConverter.cs
- TreeIterators.cs
- SafeNativeMemoryHandle.cs
- CodeEventReferenceExpression.cs
- precedingsibling.cs
- DesignerGeometryHelper.cs
- SemanticResultValue.cs
- ModelPropertyImpl.cs
- PageCatalogPartDesigner.cs
- ByteViewer.cs
- QilValidationVisitor.cs
- SmiMetaDataProperty.cs
- Point4D.cs
- ParserHooks.cs
- VisualStyleElement.cs
- XmlnsDictionary.cs
- InsufficientMemoryException.cs
- ObjectHandle.cs
- RtfNavigator.cs
- PostBackOptions.cs
- ToolStripSettings.cs
- XmlDictionary.cs
- KeyConverter.cs
- ErrorRuntimeConfig.cs
- DataGridViewColumnConverter.cs
- XmlDictionaryReaderQuotas.cs
- RemotingConfigParser.cs
- UnsafeCollabNativeMethods.cs
- UnmanagedBitmapWrapper.cs
- PkcsMisc.cs
- Select.cs
- GroupBoxDesigner.cs