Table of Contents

Class PDEncryption

Namespace
Org.Apache.Pdfbox.Pdmodel.Encryption
Assembly
MASES.NetPDF.dll
public class PDEncryption : COSObjectable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICOSObjectable
Inheritance
JVMBridgeBase
JVMBridgeBase<COSObjectable>
PDEncryption
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<COSObjectable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<COSObjectable>.IsAssignableFrom<T>()
JVMBridgeBase<COSObjectable>.Execute<T>(params T[])
JVMBridgeBase<COSObjectable>.DynBridgeClazz
JVMBridgeBase<COSObjectable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

PDEncryption()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public PDEncryption()

PDEncryption(COSDictionary)

public PDEncryption(COSDictionary arg0)

Parameters

arg0 COSDictionary

COSDictionary

PDEncryption(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public PDEncryption(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

COSObject

public COSBase COSObject { get; }

Property Value

COSBase

DEFAULT_LENGTH

public static int DEFAULT_LENGTH { get; }

Property Value

int

DEFAULT_NAME

public static String DEFAULT_NAME { get; }

Property Value

String

DEFAULT_VERSION

public static int DEFAULT_VERSION { get; }

Property Value

int

DefaultCryptFilterDictionary

public PDCryptFilterDictionary DefaultCryptFilterDictionary { get; set; }

Property Value

PDCryptFilterDictionary

Filter

public String Filter { get; set; }

Property Value

String

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Length

public int Length { get; set; }

Property Value

int

OwnerEncryptionKey

public byte[] OwnerEncryptionKey { get; set; }

Property Value

byte[]

OwnerKey

public byte[] OwnerKey { get; set; }

Property Value

byte[]

Permissions

public int Permissions { get; set; }

Property Value

int

Perms

public byte[] Perms { get; set; }

Property Value

byte[]

RecipientsLength

public int RecipientsLength { get; }

Property Value

int

Revision

public int Revision { get; set; }

Property Value

int

SecurityHandler

public SecurityHandler<ProtectionPolicy> SecurityHandler { get; set; }

Property Value

SecurityHandler<ProtectionPolicy>

StdCryptFilterDictionary

public PDCryptFilterDictionary StdCryptFilterDictionary { get; set; }

Property Value

PDCryptFilterDictionary

StreamFilterName

public COSName StreamFilterName { get; set; }

Property Value

COSName

StringFilterName

public COSName StringFilterName { get; set; }

Property Value

COSName

SubFilter

public String SubFilter { get; set; }

Property Value

String

UserEncryptionKey

public byte[] UserEncryptionKey { get; set; }

Property Value

byte[]

UserKey

public byte[] UserKey { get; set; }

Property Value

byte[]

VERSION0_UNDOCUMENTED_UNSUPPORTED

public static int VERSION0_UNDOCUMENTED_UNSUPPORTED { get; }

Property Value

int

VERSION1_40_BIT_ALGORITHM

public static int VERSION1_40_BIT_ALGORITHM { get; }

Property Value

int

VERSION2_VARIABLE_LENGTH_ALGORITHM

public static int VERSION2_VARIABLE_LENGTH_ALGORITHM { get; }

Property Value

int

VERSION3_UNPUBLISHED_ALGORITHM

public static int VERSION3_UNPUBLISHED_ALGORITHM { get; }

Property Value

int

VERSION4_SECURITY_HANDLER

public static int VERSION4_SECURITY_HANDLER { get; }

Property Value

int

Version

public int Version { get; set; }

Property Value

int

Methods

GetCryptFilterDictionary(COSName)

public PDCryptFilterDictionary GetCryptFilterDictionary(COSName arg0)

Parameters

arg0 COSName

COSName

Returns

PDCryptFilterDictionary

PDCryptFilterDictionary

GetRecipientStringAt(int)

public COSString GetRecipientStringAt(int arg0)

Parameters

arg0 int

int

Returns

COSString

COSString

HasSecurityHandler()

public bool HasSecurityHandler()

Returns

bool

bool

IsEncryptMetaData()

public bool IsEncryptMetaData()

Returns

bool

bool

RemoveV45filters()

public void RemoveV45filters()

SetCryptFilterDictionary(COSName, PDCryptFilterDictionary)

public void SetCryptFilterDictionary(COSName arg0, PDCryptFilterDictionary arg1)

Parameters

arg0 COSName

COSName

arg1 PDCryptFilterDictionary

PDCryptFilterDictionary

SetRecipients(byte[][])

public void SetRecipients(byte[][] arg0)

Parameters

arg0 byte[][]

byte

Exceptions

IOException