Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- InitialServerConnectionReader.cs
- AsymmetricSignatureFormatter.cs
- Component.cs
- DataGridState.cs
- ResourceProviderFactory.cs
- securitycriticaldataformultiplegetandset.cs
- DataListItem.cs
- ColorAnimation.cs
- BrushMappingModeValidation.cs
- DoubleStorage.cs
- XmlText.cs
- Walker.cs
- WsatTransactionFormatter.cs
- XmlSchemaValidationException.cs
- WeakReadOnlyCollection.cs
- IPPacketInformation.cs
- CodeExporter.cs
- BaseValidatorDesigner.cs
- EventWaitHandleSecurity.cs
- FormViewRow.cs
- Cursors.cs
- InternalPolicyElement.cs
- ImageSourceConverter.cs
- XMLDiffLoader.cs
- DocumentXPathNavigator.cs
- FileDialogCustomPlace.cs
- RuntimeConfigurationRecord.cs
- ExpandCollapseProviderWrapper.cs
- TextServicesDisplayAttributePropertyRanges.cs
- AssemblyNameEqualityComparer.cs
- Pts.cs
- VisualProxy.cs
- AppSettingsReader.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SchemaMapping.cs
- Statements.cs
- HttpListenerException.cs
- CollectionEditor.cs
- OraclePermission.cs
- HttpsChannelFactory.cs
- UserNamePasswordClientCredential.cs
- ContractValidationHelper.cs
- thaishape.cs
- DateTimePicker.cs
- CodeDirectiveCollection.cs
- KeyGestureValueSerializer.cs
- UserPreferenceChangingEventArgs.cs
- WinCategoryAttribute.cs
- BuilderPropertyEntry.cs
- ChtmlTextWriter.cs
- RequestDescription.cs
- ActivityBindForm.Designer.cs
- WebBrowsableAttribute.cs
- TaiwanCalendar.cs
- StaticResourceExtension.cs
- LogReserveAndAppendState.cs
- TypeNameHelper.cs
- FlowLayoutPanel.cs
- Image.cs
- PackageRelationship.cs
- _NegoState.cs
- DependencyObjectType.cs
- XamlTypeMapper.cs
- RoutedCommand.cs
- MatrixValueSerializer.cs
- SemanticResultValue.cs
- UidManager.cs
- WindowsImpersonationContext.cs
- FileReservationCollection.cs
- Transform3DGroup.cs
- TextSyndicationContentKindHelper.cs
- BasicViewGenerator.cs
- XamlStream.cs
- ActivityExecutorDelegateInfo.cs
- ListViewGroup.cs
- NamespaceTable.cs
- TextEndOfSegment.cs
- RoleGroup.cs
- WeakReferenceEnumerator.cs
- HttpRuntimeSection.cs
- ModelVisual3D.cs
- TypeSystemProvider.cs
- OverlappedContext.cs
- ReadWriteObjectLock.cs
- Configuration.cs
- XamlFigureLengthSerializer.cs
- FormCollection.cs
- HeaderedItemsControl.cs
- GeometryCombineModeValidation.cs
- DesignerOptionService.cs
- BufferedMessageData.cs
- Substitution.cs
- WorkerRequest.cs
- base64Transforms.cs
- SafeEventLogWriteHandle.cs
- CellTreeNodeVisitors.cs
- SplineKeyFrames.cs
- ProtocolImporter.cs
- ResourceCategoryAttribute.cs
- ResourceExpressionBuilder.cs