Package system.io.packaging
Class PackageDigitalSignature
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.io.packaging.PackageDigitalSignature
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class PackageDigitalSignature extends NetObject
The base .NET class managing System.IO.Packaging.PackageDigitalSignature, WindowsBase, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Packaging.PackageDigitalSignature
Powered by JCOBridge: more info at https://www.jcobridge.com
- Version:
- 1.14.3.0
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static String
assemblyShortName
Assembly name: WindowsBasestatic String
className
Qualified class name: System.IO.Packaging.PackageDigitalSignaturestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PackageDigitalSignature()
PackageDigitalSignature(Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: WindowsBase, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: WindowsBase- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.IO.Packaging.PackageDigitalSignature- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 PackageDigitalSignature cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoPackageDigitalSignature
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PackageDigitalSignature
instance- Throws:
Throwable
- in case of error during cast operation
-
Verify
public VerifyResult Verify() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, IOException, FileFormatException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, CryptographicException, XmlSchemaException, RankException, ArrayTypeMismatchException, XPathException, FormatException, OverflowException, TypeLoadException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
IOException
FileFormatException
XmlException
ArgumentOutOfRangeException
IndexOutOfRangeException
NotSupportedException
CryptographicException
XmlSchemaException
RankException
ArrayTypeMismatchException
XPathException
FormatException
OverflowException
TypeLoadException
-
Verify
public VerifyResult Verify(X509Certificate signingCertificate) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, IOException, NotSupportedException, FileFormatException, XmlException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, XPathException, OverflowException, FormatException, TypeLoadException, CryptographicUnexpectedOperationException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
ArgumentOutOfRangeException
IOException
NotSupportedException
FileFormatException
XmlException
CryptographicException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
XPathException
OverflowException
FormatException
TypeLoadException
CryptographicUnexpectedOperationException
-
getSignatureValue
public byte[] getSignatureValue() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, FormatException, IOException, RankException, ArrayTypeMismatchException, NotSupportedException, SecurityException, FileFormatException, XmlSchemaException, XmlException, CryptographicException, XPathException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
ArgumentOutOfRangeException
FormatException
IOException
RankException
ArrayTypeMismatchException
NotSupportedException
SecurityException
FileFormatException
XmlSchemaException
XmlException
CryptographicException
XPathException
-
getSigningTime
public DateTime getSigningTime() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, IOException, NotSupportedException, FileFormatException, XmlSchemaException, XmlException, CryptographicException, IndexOutOfRangeException, XPathException, FormatException, OverflowException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
ArgumentOutOfRangeException
IOException
NotSupportedException
FileFormatException
XmlSchemaException
XmlException
CryptographicException
IndexOutOfRangeException
XPathException
FormatException
OverflowException
-
getCertificateEmbeddingOption
public CertificateEmbeddingOption getCertificateEmbeddingOption() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, IOException, ArgumentOutOfRangeException, KeyNotFoundException, FileFormatException, XmlException, UriFormatException, NotSupportedException, CryptographicException, XmlSchemaException, XPathException, FormatException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
IOException
ArgumentOutOfRangeException
KeyNotFoundException
FileFormatException
XmlException
UriFormatException
NotSupportedException
CryptographicException
XmlSchemaException
XPathException
FormatException
-
getSignaturePart
public PackagePart getSignaturePart() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException
-
getSigner
public X509Certificate getSigner() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, IOException, FileFormatException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, RankException, ArrayTypeMismatchException, CryptographicException, FormatException, XmlSchemaException, XPathException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
IOException
FileFormatException
XmlException
ArgumentOutOfRangeException
IndexOutOfRangeException
NotSupportedException
RankException
ArrayTypeMismatchException
CryptographicException
FormatException
XmlSchemaException
XPathException
-
getSignature
public Signature getSignature() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, FormatException, IOException, RankException, ArrayTypeMismatchException, NotSupportedException, SecurityException, FileFormatException, XmlSchemaException, XmlException, CryptographicException, XPathException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
ArgumentOutOfRangeException
FormatException
IOException
RankException
ArrayTypeMismatchException
NotSupportedException
SecurityException
FileFormatException
XmlSchemaException
XmlException
CryptographicException
XPathException
-
setSignature
public void setSignature(Signature Signature) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, IOException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, XmlException, CryptographicException, CryptographicUnexpectedOperationException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
ArgumentOutOfRangeException
IOException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
NotSupportedException
XmlException
CryptographicException
CryptographicUnexpectedOperationException
-
getSignatureType
public String getSignatureType() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException
-
getTimeFormat
public String getTimeFormat() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, IOException, NotSupportedException, FileFormatException, XmlSchemaException, XmlException, CryptographicException, IndexOutOfRangeException, XPathException, FormatException, OverflowException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
OutOfMemoryException
ExternalException
ArgumentOutOfRangeException
IOException
NotSupportedException
FileFormatException
XmlSchemaException
XmlException
CryptographicException
IndexOutOfRangeException
XPathException
FormatException
OverflowException
-
-