Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / MS / Internal / Security / RightsManagement / RevocationPoint.cs / 1 / RevocationPoint.cs
//------------------------------------------------------------------------------ // //// Copyright (c) Microsoft Corporation. All rights reserved. // // // Description: // This is a structure representing a revocation point, as it is being defined by the // DRMGetRevocationPoint DRMSetRevocationPoint MS DRM SDK functions. // // History: // 02/27/2006: IgorBel: Initial implementation. // //----------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Text; using System.Security; namespace MS.Internal.Security.RightsManagement { ////// This class doesn't have any data validation. It is only used as a pass through mechanism from /// GetRevocationPoint to SetRevocationPoint. If we ever choose to add public APIs that control /// revocation point settings extra validation will need to be added on all the public API entry points /// and probably n the class properties as well. /// The Frequency property in the public API space would be better represented by a TimeSpan (not DateTime). /// ////// Critical: This class exposes access to methods that eventually do one or more of the the following /// 1. call into unmanaged code /// 2. affects state/data that will eventually cross over unmanaged code boundary /// 3. Return some RM related information which is considered private /// [SecurityCritical(SecurityCriticalScope.Everything)] internal class RevocationPoint { //----------------------------------------------------- // // Internal Properties // //----------------------------------------------------- internal string Id { get { return _id; } set { _id = value; } } internal string IdType { get { return _idType; } set { _idType = value; } } internal Uri Url { get { return _url; } set { _url = value; } } internal SystemTime Frequency { get { return _frequency; } set { _frequency = value; } } internal string Name { get { return _name; } set { _name = value; } } internal string PublicKey { get { return _publicKey; } set { _publicKey = value; } } //------------------------------------------------------ // // Private Fields // //----------------------------------------------------- private string _id; private string _idType; private Uri _url; private SystemTime _frequency; private string _name; private string _publicKey; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // //// Copyright (c) Microsoft Corporation. All rights reserved. // // // Description: // This is a structure representing a revocation point, as it is being defined by the // DRMGetRevocationPoint DRMSetRevocationPoint MS DRM SDK functions. // // History: // 02/27/2006: IgorBel: Initial implementation. // //----------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Text; using System.Security; namespace MS.Internal.Security.RightsManagement { ////// This class doesn't have any data validation. It is only used as a pass through mechanism from /// GetRevocationPoint to SetRevocationPoint. If we ever choose to add public APIs that control /// revocation point settings extra validation will need to be added on all the public API entry points /// and probably n the class properties as well. /// The Frequency property in the public API space would be better represented by a TimeSpan (not DateTime). /// ////// Critical: This class exposes access to methods that eventually do one or more of the the following /// 1. call into unmanaged code /// 2. affects state/data that will eventually cross over unmanaged code boundary /// 3. Return some RM related information which is considered private /// [SecurityCritical(SecurityCriticalScope.Everything)] internal class RevocationPoint { //----------------------------------------------------- // // Internal Properties // //----------------------------------------------------- internal string Id { get { return _id; } set { _id = value; } } internal string IdType { get { return _idType; } set { _idType = value; } } internal Uri Url { get { return _url; } set { _url = value; } } internal SystemTime Frequency { get { return _frequency; } set { _frequency = value; } } internal string Name { get { return _name; } set { _name = value; } } internal string PublicKey { get { return _publicKey; } set { _publicKey = value; } } //------------------------------------------------------ // // Private Fields // //----------------------------------------------------- private string _id; private string _idType; private Uri _url; private SystemTime _frequency; private string _name; private string _publicKey; } } // 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
- MulticastNotSupportedException.cs
- SoapWriter.cs
- FormatVersion.cs
- PrintPreviewDialog.cs
- ServiceObjectContainer.cs
- DefaultAssemblyResolver.cs
- ObjectQueryProvider.cs
- WebHttpBindingCollectionElement.cs
- MSAAWinEventWrap.cs
- TrustManagerMoreInformation.cs
- JapaneseCalendar.cs
- ChtmlMobileTextWriter.cs
- RequestUriProcessor.cs
- RelativeSource.cs
- BindingManagerDataErrorEventArgs.cs
- Internal.cs
- SafeCertificateContext.cs
- ResourcesGenerator.cs
- IdleTimeoutMonitor.cs
- Geometry3D.cs
- OperationAbortedException.cs
- PolyBezierSegment.cs
- RadioButtonStandardAdapter.cs
- BinaryConverter.cs
- NetworkInformationException.cs
- Cursors.cs
- SelectionItemProviderWrapper.cs
- SQLByte.cs
- PeerName.cs
- DataBindingHandlerAttribute.cs
- PersonalizationProviderCollection.cs
- HandlerMappingMemo.cs
- ExpressionConverter.cs
- TemplateComponentConnector.cs
- ExecutedRoutedEventArgs.cs
- CalendarDateRange.cs
- ValidationSummary.cs
- VisualCollection.cs
- WebScriptServiceHostFactory.cs
- OdbcEnvironment.cs
- NavigationProperty.cs
- EmptyStringExpandableObjectConverter.cs
- EventWaitHandle.cs
- SchemaMerger.cs
- ActivityCompletionCallbackWrapper.cs
- CompilerCollection.cs
- PageThemeCodeDomTreeGenerator.cs
- MatrixTransform3D.cs
- SessionEndingEventArgs.cs
- SelectorAutomationPeer.cs
- CustomCategoryAttribute.cs
- ImageBrush.cs
- followingsibling.cs
- LabelDesigner.cs
- IListConverters.cs
- DependentList.cs
- DBSchemaTable.cs
- SafeReadContext.cs
- GregorianCalendar.cs
- ToolStripDropDownItemDesigner.cs
- DrawingDrawingContext.cs
- Mouse.cs
- KeyValuePair.cs
- GeneratedContractType.cs
- IntegrationExceptionEventArgs.cs
- AuthenticationConfig.cs
- versioninfo.cs
- ConfigUtil.cs
- AliasedSlot.cs
- Assert.cs
- DomainUpDown.cs
- ConstructorBuilder.cs
- Point.cs
- ObfuscateAssemblyAttribute.cs
- ProfileInfo.cs
- TargetPerspective.cs
- ControlsConfig.cs
- Transform.cs
- IndentedWriter.cs
- SchemaSetCompiler.cs
- PointCollectionConverter.cs
- Grant.cs
- WeakReference.cs
- DropSource.cs
- ProfileService.cs
- SqlDeflator.cs
- FragmentQuery.cs
- AdornerPresentationContext.cs
- SspiNegotiationTokenProvider.cs
- VersionedStream.cs
- TypedTableHandler.cs
- PipelineModuleStepContainer.cs
- SHA384Managed.cs
- DefinitionUpdate.cs
- Light.cs
- DPTypeDescriptorContext.cs
- HMACSHA1.cs
- XmlTextEncoder.cs
- MemoryStream.cs
- SecurityElement.cs