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
- ResumeStoryboard.cs
- ControlBuilder.cs
- Stroke.cs
- ZipQueryOperator.cs
- SharedPerformanceCounter.cs
- BamlRecordWriter.cs
- Underline.cs
- CurrentChangedEventManager.cs
- PathData.cs
- Clipboard.cs
- AnimationClock.cs
- BaseParser.cs
- FastEncoder.cs
- ViewSimplifier.cs
- ChtmlMobileTextWriter.cs
- DoubleKeyFrameCollection.cs
- ImpersonateTokenRef.cs
- InstanceDataCollection.cs
- IPEndPoint.cs
- ClickablePoint.cs
- InvalidPrinterException.cs
- ServiceModelConfigurationSection.cs
- DesignerTransactionCloseEvent.cs
- GC.cs
- ReadOnlyDictionary.cs
- ADMembershipProvider.cs
- WindowsAuthenticationModule.cs
- AmbientLight.cs
- ResourceSetExpression.cs
- OutOfProcStateClientManager.cs
- Int64Converter.cs
- GetParentChain.cs
- CodePageEncoding.cs
- XmlException.cs
- StylusPointPropertyId.cs
- IChannel.cs
- EnumerableRowCollection.cs
- SqlDataSource.cs
- TextRangeSerialization.cs
- TrustManagerMoreInformation.cs
- PackWebRequest.cs
- QilExpression.cs
- HandlerMappingMemo.cs
- Pair.cs
- AutomationEvent.cs
- AsyncOperation.cs
- ScriptServiceAttribute.cs
- GenerateHelper.cs
- ConfigurationPermission.cs
- TransformDescriptor.cs
- EventWaitHandleSecurity.cs
- SqlDataAdapter.cs
- XsltOutput.cs
- ScriptReference.cs
- ProfessionalColorTable.cs
- StrokeNodeEnumerator.cs
- AnimatedTypeHelpers.cs
- QueryExtender.cs
- SessionPageStatePersister.cs
- JsonEncodingStreamWrapper.cs
- SystemInformation.cs
- DependencyPropertyHelper.cs
- ListParagraph.cs
- DurableRuntimeValidator.cs
- GridViewAutomationPeer.cs
- PipeStream.cs
- ListViewCancelEventArgs.cs
- QueryStringParameter.cs
- PropertyGridView.cs
- XmlSchemaInclude.cs
- XPathBinder.cs
- ToolStripDropDownClosingEventArgs.cs
- HttpContext.cs
- GCHandleCookieTable.cs
- ServiceManager.cs
- PropertyDescriptorCollection.cs
- RawContentTypeMapper.cs
- GraphicsContext.cs
- ObservableDictionary.cs
- EntityDataSourceDataSelection.cs
- SqlProviderUtilities.cs
- CollectionDataContract.cs
- StylusPointPropertyUnit.cs
- ErrorEventArgs.cs
- localization.cs
- HiddenFieldPageStatePersister.cs
- TimeEnumHelper.cs
- PeerNameRecordCollection.cs
- SharedUtils.cs
- Binding.cs
- LocatorPart.cs
- Condition.cs
- InputQueue.cs
- BoundPropertyEntry.cs
- IntranetCredentialPolicy.cs
- NavigationPropertyAccessor.cs
- Trace.cs
- WebPartConnectionsDisconnectVerb.cs
- WhitespaceRule.cs
- linebase.cs