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=4.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, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionpublic 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, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ObjectDisposedException, IOException, ArgumentException, FileFormatException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, CryptographicException, FormatException, AccessViolationException, InvalidTimeZoneException, MissingMethodException, TargetInvocationException, NotSupportedException, RankException, OverflowException, NotImplementedException, CultureNotFoundException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionArgumentExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionFormatExceptionAccessViolationExceptionInvalidTimeZoneExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionRankExceptionOverflowExceptionNotImplementedExceptionCultureNotFoundExceptionpublic PackageDigitalSignature Countersign(X509Certificate certificate) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ObjectDisposedException, IOException, ArgumentException, FileFormatException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, FormatException, AccessViolationException, CryptographicException, NotSupportedException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionArgumentExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionAccessViolationExceptionCryptographicExceptionNotSupportedExceptionCryptographicUnexpectedOperationExceptionpublic CertificateEmbeddingOption getCertificateOption() throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String getDefaultHashAlgorithm()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic java.lang.String getHashAlgorithm()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSigned()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IOException,
ArgumentException,
ArgumentOutOfRangeException,
FileFormatException,
XmlException,
UriFormatException,
IndexOutOfRangeException,
OutOfMemoryException
public 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, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ObjectDisposedException, IOException, ArgumentException, FileFormatException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException
public Uri getSignatureOrigin() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, IOException, ArgumentOutOfRangeException, FileFormatException, XmlException, UriFormatException, OutOfMemoryException
public 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,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
IOException,
ArgumentOutOfRangeException,
FileFormatException,
XmlException,
UriFormatException,
IndexOutOfRangeException,
OutOfMemoryException,
NotSupportedException,
SecurityException,
CultureNotFoundException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionArgumentOutOfRangeExceptionFileFormatExceptionXmlExceptionUriFormatExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionSecurityExceptionCultureNotFoundExceptionpublic void removeInvalidSignatureEvent(InvalidSignatureEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void RemoveSignature(Uri signatureUri) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, IOException, FileFormatException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void setCertificateOption(CertificateEmbeddingOption CertificateOption) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void setHashAlgorithm(java.lang.String HashAlgorithm)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
AbandonedMutexException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setTimeFormat(java.lang.String TimeFormat)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
AbandonedMutexException
public static X509ChainStatusFlags VerifyCertificate(X509Certificate certificate) throws java.lang.Throwable, ArgumentNullException, AccessViolationException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, ApplicationException, NotSupportedException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionAccessViolationExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSecurityExceptionApplicationExceptionNotSupportedExceptionNullReferenceExceptionpublic VerifyResult VerifySignatures(boolean exitOnFailure) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IOException, ArgumentException, ArgumentOutOfRangeException, FileFormatException, XmlException, UriFormatException, IndexOutOfRangeException, OutOfMemoryException, CryptographicException, AccessViolationException, NullReferenceException, XPathException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, ConfigurationErrorsException, FormatException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionArgumentExceptionArgumentOutOfRangeExceptionFileFormatExceptionXmlExceptionUriFormatExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionAccessViolationExceptionNullReferenceExceptionXPathExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionConfigurationErrorsExceptionFormatExceptionNotImplementedException