Table of Contents

Class StandardSecurityHandler

Namespace
Org.Apache.Pdfbox.Pdmodel.Encryption
Assembly
MASES.NetPDF.dll
public class StandardSecurityHandler : SecurityHandler<StandardProtectionPolicy>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
StandardSecurityHandler
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<SecurityHandler<StandardProtectionPolicy>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<SecurityHandler<StandardProtectionPolicy>>.IsAssignableFrom<T>()
JVMBridgeBase<SecurityHandler<StandardProtectionPolicy>>.Execute<T>(params T[])
JVMBridgeBase<SecurityHandler<StandardProtectionPolicy>>.DynBridgeClazz
JVMBridgeBase<SecurityHandler<StandardProtectionPolicy>>.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

StandardSecurityHandler()

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

public StandardSecurityHandler()

StandardSecurityHandler(StandardProtectionPolicy)

public StandardSecurityHandler(StandardProtectionPolicy arg0)

Parameters

arg0 StandardProtectionPolicy

StandardProtectionPolicy

StandardSecurityHandler(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 StandardSecurityHandler(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

FILTER

public static String FILTER { get; }

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

PROTECTION_POLICY_CLASS

public static Class PROTECTION_POLICY_CLASS { get; }

Property Value

Class

Methods

ComputeEncryptedKey(byte[], byte[], byte[], byte[], byte[], int, byte[], int, int, bool, bool)

public byte[] ComputeEncryptedKey(byte[] arg0, byte[] arg1, byte[] arg2, byte[] arg3, byte[] arg4, int arg5, byte[] arg6, int arg7, int arg8, bool arg9, bool arg10)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

arg2 byte[]

byte

arg3 byte[]

byte

arg4 byte[]

byte

arg5 int

int

arg6 byte[]

byte

arg7 int

int

arg8 int

int

arg9 bool

bool

arg10 bool

bool

Returns

byte[]

byte

Exceptions

IOException

ComputeOwnerPassword(byte[], byte[], int, int)

public byte[] ComputeOwnerPassword(byte[] arg0, byte[] arg1, int arg2, int arg3)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

arg2 int

int

arg3 int

int

Returns

byte[]

byte

Exceptions

IOException

ComputeUserPassword(byte[], byte[], int, byte[], int, int, bool)

public byte[] ComputeUserPassword(byte[] arg0, byte[] arg1, int arg2, byte[] arg3, int arg4, int arg5, bool arg6)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

arg2 int

int

arg3 byte[]

byte

arg4 int

int

arg5 int

int

arg6 bool

bool

Returns

byte[]

byte

Exceptions

IOException

GetUserPassword(byte[], byte[], int, int)

public byte[] GetUserPassword(byte[] arg0, byte[] arg1, int arg2, int arg3)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

arg2 int

int

arg3 int

int

Returns

byte[]

byte

Exceptions

IOException

IsOwnerPassword(String, byte[], byte[], int, byte[], int, int, bool)

public bool IsOwnerPassword(String arg0, byte[] arg1, byte[] arg2, int arg3, byte[] arg4, int arg5, int arg6, bool arg7)

Parameters

arg0 String

String

arg1 byte[]

byte

arg2 byte[]

byte

arg3 int

int

arg4 byte[]

byte

arg5 int

int

arg6 int

int

arg7 bool

bool

Returns

bool

bool

Exceptions

IOException

IsOwnerPassword(byte[], byte[], byte[], int, byte[], int, int, bool)

public bool IsOwnerPassword(byte[] arg0, byte[] arg1, byte[] arg2, int arg3, byte[] arg4, int arg5, int arg6, bool arg7)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

arg2 byte[]

byte

arg3 int

int

arg4 byte[]

byte

arg5 int

int

arg6 int

int

arg7 bool

bool

Returns

bool

bool

Exceptions

IOException

IsUserPassword(String, byte[], byte[], int, byte[], int, int, bool)

public bool IsUserPassword(String arg0, byte[] arg1, byte[] arg2, int arg3, byte[] arg4, int arg5, int arg6, bool arg7)

Parameters

arg0 String

String

arg1 byte[]

byte

arg2 byte[]

byte

arg3 int

int

arg4 byte[]

byte

arg5 int

int

arg6 int

int

arg7 bool

bool

Returns

bool

bool

Exceptions

IOException

IsUserPassword(byte[], byte[], byte[], int, byte[], int, int, bool)

public bool IsUserPassword(byte[] arg0, byte[] arg1, byte[] arg2, int arg3, byte[] arg4, int arg5, int arg6, bool arg7)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

arg2 byte[]

byte

arg3 int

int

arg4 byte[]

byte

arg5 int

int

arg6 int

int

arg7 bool

bool

Returns

bool

bool

Exceptions

IOException