Package system.io.packaging
Class PackageDigitalSignatureManager
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.io.packaging.PackageDigitalSignatureManager
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class PackageDigitalSignatureManager extends NetObject
The base .NET class managing System.IO.Packaging.PackageDigitalSignatureManager, WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Packaging.PackageDigitalSignatureManager
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: WindowsBasestatic java.lang.String
className
Qualified class name: System.IO.Packaging.PackageDigitalSignatureManagerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PackageDigitalSignatureManager()
PackageDigitalSignatureManager(java.lang.Object instance)
Internal constructor.PackageDigitalSignatureManager(Package _package)
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: WindowsBase- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.IO.Packaging.PackageDigitalSignatureManager- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PackageDigitalSignatureManager
public PackageDigitalSignatureManager(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
PackageDigitalSignatureManager
public PackageDigitalSignatureManager() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
PackageDigitalSignatureManager
public PackageDigitalSignatureManager(Package _package) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PackageDigitalSignatureManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPackageDigitalSignatureManager
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PackageDigitalSignatureManager
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Countersign
public PackageDigitalSignature Countersign() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, IOException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, FileFormatException, XmlException, ArgumentOutOfRangeException, OutOfMemoryException, NotSupportedException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentException
ObjectDisposedException
IOException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
FileFormatException
XmlException
ArgumentOutOfRangeException
OutOfMemoryException
NotSupportedException
RankException
ArrayTypeMismatchException
MissingMethodException
TargetInvocationException
FormatException
InvalidTimeZoneException
OverflowException
SecurityException
CryptographicException
-
Countersign
public PackageDigitalSignature Countersign(X509Certificate certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, OutOfMemoryException, FormatException, KeyNotFoundException, CryptographicException, CryptographicUnexpectedOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IOException
IndexOutOfRangeException
FileFormatException
XmlException
OutOfMemoryException
FormatException
KeyNotFoundException
CryptographicException
CryptographicUnexpectedOperationException
-
GetSignature
public PackageDigitalSignature GetSignature(Uri signatureUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IOException
IndexOutOfRangeException
FileFormatException
XmlException
OutOfMemoryException
-
VerifySignatures
public VerifyResult VerifySignatures(boolean exitOnFailure) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ObjectDisposedException, IOException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FileFormatException, XmlException, ArgumentOutOfRangeException, OutOfMemoryException, UnreachableException, NullReferenceException, NotSupportedException, SecurityException, RankException, ArrayTypeMismatchException, InvalidCastException, CryptographicException, XPathException, TypeLoadException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ObjectDisposedException
IOException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FileFormatException
XmlException
ArgumentOutOfRangeException
OutOfMemoryException
UnreachableException
NullReferenceException
NotSupportedException
SecurityException
RankException
ArrayTypeMismatchException
InvalidCastException
CryptographicException
XPathException
TypeLoadException
-
VerifyCertificate
public static X509ChainStatusFlags VerifyCertificate(X509Certificate certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, CryptographicException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MissingMethodException
TargetInvocationException
IndexOutOfRangeException
FormatException
CryptographicException
OverflowException
OutOfMemoryException
-
RemoveAllSignatures
public void RemoveAllSignatures() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, ArgumentOutOfRangeException, OutOfMemoryException, UnreachableException, NullReferenceException, NotSupportedException, SecurityException, RankException, ArrayTypeMismatchException, InvalidCastException, FormatException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
IOException
IndexOutOfRangeException
FileFormatException
XmlException
ArgumentOutOfRangeException
OutOfMemoryException
UnreachableException
NullReferenceException
NotSupportedException
SecurityException
RankException
ArrayTypeMismatchException
InvalidCastException
FormatException
KeyNotFoundException
-
RemoveSignature
public void RemoveSignature(Uri signatureUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, ArgumentOutOfRangeException, OutOfMemoryException, NotSupportedException, RankException, ArrayTypeMismatchException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
IOException
IndexOutOfRangeException
FileFormatException
XmlException
ArgumentOutOfRangeException
OutOfMemoryException
NotSupportedException
RankException
ArrayTypeMismatchException
KeyNotFoundException
-
getIsSigned
public boolean getIsSigned() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ObjectDisposedException, IOException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FileFormatException, XmlException, ArgumentOutOfRangeException, OutOfMemoryException, UnreachableException, NullReferenceException, NotSupportedException, SecurityException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ObjectDisposedException
IOException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FileFormatException
XmlException
ArgumentOutOfRangeException
OutOfMemoryException
UnreachableException
NullReferenceException
NotSupportedException
SecurityException
RankException
ArrayTypeMismatchException
InvalidCastException
-
getCertificateOption
public CertificateEmbeddingOption getCertificateOption() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCertificateOption
public void setCertificateOption(CertificateEmbeddingOption CertificateOption) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getDefaultHashAlgorithm
public static java.lang.String getDefaultHashAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
-
getHashAlgorithm
public java.lang.String getHashAlgorithm() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setHashAlgorithm
public void setHashAlgorithm(java.lang.String HashAlgorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getSignatureOriginRelationshipType
public static java.lang.String getSignatureOriginRelationshipType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTimeFormat
public java.lang.String getTimeFormat() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTimeFormat
public void setTimeFormat(java.lang.String TimeFormat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CultureNotFoundException
NullReferenceException
OutOfMemoryException
ExternalException
IndexOutOfRangeException
FormatException
-
getSignatureOrigin
public Uri getSignatureOrigin() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, ArgumentOutOfRangeException, UnreachableException, NotSupportedException, UriFormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
IOException
IndexOutOfRangeException
FileFormatException
XmlException
ArgumentOutOfRangeException
UnreachableException
NotSupportedException
UriFormatException
-
addInvalidSignatureEvent
public void addInvalidSignatureEvent(InvalidSignatureEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInvalidSignatureEvent
public void removeInvalidSignatureEvent(InvalidSignatureEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-