IProtectionHandler Interface

Definition

Interface for all protection-related actions for a specific protection configuration.

public interface IProtectionHandler : IDisposable
type IProtectionHandler = interface
    interface IDisposable
Public Interface IProtectionHandler
Implements IDisposable
Implements

Properties

AuditedExtractAllowed

Whether or not protection handler grants user 'audited extract' right

BlockSize

The block size (in bytes) for the cipher mode used by this ProtectionHandler

ContentId

The unique identifier for the document/content Publishing licenses will have this identifier surrounded by curly braces "{}". Those braces are removed from the value returned here

IsIssuedToOwner

Whether or not the current user is the content owner

IssuedTo

The user associated with the protection handler

Owner

Email address of content owner

ProtectionDescriptor

The protection descriptor for an ad hoc protection handler or null otherwise

Rights

Gets the rights granted to the user/identity associated with this ProtectionHandler

UseDeprecatedAlgorithms

Whether or not protection handler uses deprecated crypto algorithms (ECB) for backward compatibility

Methods

AccessCheck(String)

Checks if protection handler grants user access to the specified right

DecryptBuffer(Int64, Byte[], Byte[], Boolean)

Decrypt a buffer

EncryptBuffer(Int64, Byte[], Byte[], Boolean)

Encrypt a buffer

GetProtectedContentLength(Int64, Boolean)

Calculates size (in bytes) of content if it were to be encrypted with this ProtectionHandler

GetSerializedPreLicense(PreLicenseFormat)

Returns the serialized prelicense

GetSerializedPublishingLicense()

Serialize ProtectionHandler into a publishing license (PL)

Applies to