Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / Security / RightsManagement / RevocationPoint.cs / 1305600 / 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
- Soap11ServerProtocol.cs
- KeyBinding.cs
- ObjectDataSourceEventArgs.cs
- EndpointAddress.cs
- XmlBuffer.cs
- RemotingConfiguration.cs
- AssemblyResourceLoader.cs
- DoubleLinkList.cs
- _OverlappedAsyncResult.cs
- HtmlInputHidden.cs
- ContentElement.cs
- NumericExpr.cs
- CompositeFontInfo.cs
- X509Certificate2Collection.cs
- RelationshipEndMember.cs
- ScrollChrome.cs
- SendOperation.cs
- TrimSurroundingWhitespaceAttribute.cs
- BuildProvidersCompiler.cs
- CompoundFileStorageReference.cs
- BaseDataList.cs
- EntityDataSourceViewSchema.cs
- CommunicationException.cs
- CompilationUtil.cs
- TraceSource.cs
- ActivityMetadata.cs
- PageAsyncTaskManager.cs
- HideDisabledControlAdapter.cs
- FileSystemInfo.cs
- WhileDesigner.xaml.cs
- ColorTranslator.cs
- GZipObjectSerializer.cs
- SafeNativeMethods.cs
- BrowserCapabilitiesFactory.cs
- RelatedEnd.cs
- DbQueryCommandTree.cs
- UnknownBitmapEncoder.cs
- WebCodeGenerator.cs
- SqlMethods.cs
- CodeCastExpression.cs
- StoreItemCollection.Loader.cs
- TextEffect.cs
- DrawingCollection.cs
- SimpleTextLine.cs
- HitTestFilterBehavior.cs
- FontFamilyIdentifier.cs
- OletxEnlistment.cs
- PageParser.cs
- SafePEFileHandle.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- LinqDataSourceDeleteEventArgs.cs
- RtfToXamlLexer.cs
- EncryptedType.cs
- FaultFormatter.cs
- ConnectionPoint.cs
- ValidationEventArgs.cs
- FileLevelControlBuilderAttribute.cs
- ComEventsMethod.cs
- PropertyTabAttribute.cs
- WebPartMovingEventArgs.cs
- AssemblyLoader.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- StrongNameMembershipCondition.cs
- LambdaCompiler.Generated.cs
- ControllableStoryboardAction.cs
- IntegerValidator.cs
- ErrorTableItemStyle.cs
- unitconverter.cs
- ListItemCollection.cs
- ResourceSet.cs
- DataContractSerializerFaultFormatter.cs
- ContainerParagraph.cs
- EncodingDataItem.cs
- CodeGenerator.cs
- TextClipboardData.cs
- OdbcFactory.cs
- X509CertificateStore.cs
- TextDocumentView.cs
- ColumnCollection.cs
- DocumentViewerBaseAutomationPeer.cs
- DataRelationPropertyDescriptor.cs
- mansign.cs
- ModifyActivitiesPropertyDescriptor.cs
- IdentityValidationException.cs
- ListViewEditEventArgs.cs
- CqlParserHelpers.cs
- EntityClassGenerator.cs
- SocketPermission.cs
- TraceHandlerErrorFormatter.cs
- EdmRelationshipRoleAttribute.cs
- DateTimePicker.cs
- ClientProtocol.cs
- DiagnosticTraceSource.cs
- TrackingMemoryStream.cs
- StylusDevice.cs
- ImageSource.cs
- CodePageUtils.cs
- IdentityNotMappedException.cs
- EditorZoneBase.cs
- ViewUtilities.cs