Show / Hide Table of Contents

Class AssetRight

Rights are used to indicate the level of access that an Identity has to an Asset. Rights are not always signed by the owner, rather, they are signed by the same Identity as the associated Asset.

Inheritance
Object
BasePdu<AssetRight>
AssetRight
Implements
IEquatable<AssetRight>
Inherited Members
BasePdu<AssetRight>.ToJsonForMds()
BasePdu<AssetRight>.ToJsonForLocalStorage()
BasePdu<AssetRight>.Equals(AssetRight)
BasePdu<AssetRight>.Equals(Object)
BasePdu<AssetRight>.GetHashCode()
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: PKWARE.Smartcrypt.Protocol
Assembly: SmartcryptProtocol.dll
Syntax
public sealed class AssetRight : BasePdu<AssetRight>, IEquatable<AssetRight>

Constructors

AssetRight(AssetRight)

Declaration
public AssetRight([NotNull] AssetRight other)
Parameters
Type Name Description
AssetRight other

Fields

AccessAllow

Indicates that the participant of this Right is allowed to access the associated Asset.

Declaration
public const string AccessAllow = "allow"
Field Value
Type Description
String

AccessDeny

Indicates that the participant of this Right is not allowed to access the associated Asset.

Declaration
public const string AccessDeny = "deny"
Field Value
Type Description
String

record

Declaration
[NotNull]
public readonly AssetRight.Record record
Field Value
Type Description
AssetRight.Record

Properties

assetid

Declaration
public long assetid { get; set; }
Property Value
Type Description
Int64

created_at

Declaration
[CanBeNull]
public string created_at { get; set; }
Property Value
Type Description
String

homeServer

Declaration
[CanBeNull]
public string homeServer { get; set; }
Property Value
Type Description
String

id

Declaration
public long id { get; set; }
Property Value
Type Description
Int64

ownerid

Declaration
public long ownerid { get; set; }
Property Value
Type Description
Int64

participantid

Declaration
public long participantid { get; set; }
Property Value
Type Description
Int64

signature

Declaration
[CanBeNull]
public string signature { get; set; }
Property Value
Type Description
String

updated_at

Declaration
[CanBeNull]
public string updated_at { get; set; }
Property Value
Type Description
String

Methods

ToJson(Boolean)

Declaration
protected override string ToJson(bool sending)
Parameters
Type Name Description
Boolean sending
Returns
Type Description
String
Overrides
PKWARE.Smartcrypt.Protocol.BasePdu<PKWARE.Smartcrypt.Protocol.AssetRight>.ToJson(System.Boolean)

Implements

System.IEquatable<T>
Back to top Copyright © 2018 PKWARE, Inc.