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.StringassemblyFullNameFully assembly qualified name: WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: WindowsBasestatic java.lang.StringclassNameQualified class name: System.IO.Packaging.PackageDigitalSignatureManagerstatic JCTypeclassTypeThe 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.ThrowableInternal 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static PackageDigitalSignatureManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoPackageDigitalSignatureManager, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
PackageDigitalSignatureManagerinstance- 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.ThrowableArgumentExceptionObjectDisposedExceptionIOExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionSecurityExceptionCryptographicException
-
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.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionOutOfMemoryExceptionFormatExceptionKeyNotFoundExceptionCryptographicExceptionCryptographicUnexpectedOperationException
-
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.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionOutOfMemoryException
-
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.ThrowableArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionUnreachableExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionCryptographicExceptionXPathExceptionTypeLoadException
-
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.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionOverflowExceptionOutOfMemoryException
-
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.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionUnreachableExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionFormatExceptionKeyNotFoundException
-
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.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionKeyNotFoundException
-
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.ThrowableArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionUnreachableExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedException
-
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.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionFormatException
-
getSignatureOrigin
public Uri getSignatureOrigin() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, ArgumentOutOfRangeException, UnreachableException, NotSupportedException, UriFormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionUnreachableExceptionNotSupportedExceptionUriFormatException
-
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
-
-