public class PackageDigitalSignatureManager extends NetObject
.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
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: WindowsBase
|
static java.lang.String |
className
Qualified class name: System.IO.Packaging.PackageDigitalSignatureManager
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PackageDigitalSignatureManager() |
PackageDigitalSignatureManager(java.lang.Object instance)
Internal constructor.
|
PackageDigitalSignatureManager(Package _package) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PackageDigitalSignatureManager()
throws java.lang.Throwable
java.lang.Throwablepublic PackageDigitalSignatureManager(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic PackageDigitalSignatureManager(Package _package) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
public void addInvalidSignatureEvent(InvalidSignatureEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static PackageDigitalSignatureManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PackageDigitalSignatureManager, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPackageDigitalSignatureManager instancejava.lang.Throwable - in case of error during cast operationpublic 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
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionIOExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionSecurityExceptionCryptographicExceptionpublic 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
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionOutOfMemoryExceptionFormatExceptionKeyNotFoundExceptionCryptographicExceptionCryptographicUnexpectedOperationExceptionpublic CertificateEmbeddingOption getCertificateOption() throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String getDefaultHashAlgorithm()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionpublic java.lang.String getHashAlgorithm()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSigned()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ObjectDisposedException,
IOException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FileFormatException,
XmlException,
ArgumentOutOfRangeException,
OutOfMemoryException,
UnreachableException,
NullReferenceException,
NotSupportedException,
SecurityException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionUnreachableExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic PackageDigitalSignature GetSignature(Uri signatureUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionOutOfMemoryExceptionpublic Uri getSignatureOrigin() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, ArgumentOutOfRangeException, UnreachableException, NotSupportedException, UriFormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionUnreachableExceptionNotSupportedExceptionUriFormatExceptionpublic static java.lang.String getSignatureOriginRelationshipType()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getTimeFormat()
throws java.lang.Throwable
java.lang.Throwablepublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionUnreachableExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionFormatExceptionKeyNotFoundExceptionpublic void removeInvalidSignatureEvent(InvalidSignatureEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void RemoveSignature(Uri signatureUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, ArgumentOutOfRangeException, OutOfMemoryException, NotSupportedException, RankException, ArrayTypeMismatchException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionIndexOutOfRangeExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionKeyNotFoundExceptionpublic void setCertificateOption(CertificateEmbeddingOption CertificateOption) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public void setHashAlgorithm(java.lang.String HashAlgorithm)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic 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
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionFormatExceptionpublic 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
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionOverflowExceptionOutOfMemoryExceptionpublic 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
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionUnreachableExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionCryptographicExceptionXPathExceptionTypeLoadException