Class StandardSecurityHandler
- Namespace
- Org.Apache.Pdfbox.Pdmodel.Encryption
- Assembly
- MASES.NetPDF.dll
public class StandardSecurityHandler : SecurityHandler<StandardProtectionPolicy>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
StandardSecurityHandler
- Implements
- Inherited Members
Constructors
StandardSecurityHandler()
public StandardSecurityHandler()
StandardSecurityHandler(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public StandardSecurityHandler(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
StandardSecurityHandler(StandardProtectionPolicy)
public StandardSecurityHandler(StandardProtectionPolicy arg0)
Parameters
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
FILTER
public static String FILTER { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
PROTECTION_POLICY_CLASS
public static Class PROTECTION_POLICY_CLASS { get; set; }
Property Value
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
arg0byte[]arg1byte[]arg2byte[]arg3byte[]arg4byte[]arg5intarg6byte[]arg7intarg8intarg9boolarg10bool
Returns
Exceptions
ComputeOwnerPassword(byte[], byte[], int, int)
public byte[] ComputeOwnerPassword(byte[] arg0, byte[] arg1, int arg2, int arg3)
Parameters
Returns
Exceptions
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
Returns
Exceptions
CreatePoolableInstance()
HPA initializer for StandardSecurityHandler()
public static StandardSecurityHandler CreatePoolableInstance()
Returns
CreatePoolableInstance(StandardProtectionPolicy)
HPA initializer for StandardSecurityHandler(Org.Apache.Pdfbox.Pdmodel.Encryption.StandardProtectionPolicy arg0)
public static StandardSecurityHandler CreatePoolableInstance(StandardProtectionPolicy arg0)
Parameters
Returns
GetUserPassword(byte[], byte[], int, int)
public byte[] GetUserPassword(byte[] arg0, byte[] arg1, int arg2, int arg3)
Parameters
Returns
Exceptions
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
Returns
Exceptions
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
Returns
Exceptions
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
Returns
Exceptions
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)