public class PackageDigitalSignatureManager extends NetObject
.NET documentation at https://learn.microsoft.com/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 org.mases.jcobridge.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 static org.mases.jcobridge.JCType classType
JCTypepublic 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 PackageDigitalSignature Countersign(X509Certificate certificate, IEnumerable_1 signatures) 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 org.mases.jcobridge.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 ReadOnlyCollection_1 getSignatures() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IOException, ArgumentException, ArgumentOutOfRangeException, FileFormatException, XmlException, UriFormatException, IndexOutOfRangeException, OutOfMemoryException
public java.lang.String getTimeFormat()
throws java.lang.Throwable
java.lang.Throwablepublic Dictionary_2 getTransformMapping() 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(org.mases.jcobridge.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 PackageDigitalSignature Sign(IEnumerable_1 parts) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, NotSupportedException, CryptographicException, AccessViolationException, InvalidTimeZoneException, SecurityException, OutOfMemoryException, RankException, OverflowException, IOException, FileFormatException, XmlException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionCryptographicExceptionAccessViolationExceptionInvalidTimeZoneExceptionSecurityExceptionOutOfMemoryExceptionRankExceptionOverflowExceptionIOExceptionFileFormatExceptionXmlExceptionCryptographicUnexpectedOperationExceptionpublic PackageDigitalSignature Sign(IEnumerable_1 parts, X509Certificate certificate) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IOException, FileFormatException, KeyNotFoundException, NotSupportedException, XmlException, AccessViolationException, CryptographicException, SecurityException
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIOExceptionFileFormatExceptionKeyNotFoundExceptionNotSupportedExceptionXmlExceptionAccessViolationExceptionCryptographicExceptionSecurityExceptionpublic PackageDigitalSignature Sign(IEnumerable_1 parts, X509Certificate certificate, IEnumerable_1 relationshipSelectors) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IOException, FileFormatException, CultureNotFoundException, NotSupportedException, XmlException, KeyNotFoundException, AccessViolationException, CryptographicException, ThreadAbortException, SecurityException, OutOfMemoryException, NullReferenceException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIOExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionXmlExceptionKeyNotFoundExceptionAccessViolationExceptionCryptographicExceptionThreadAbortExceptionSecurityExceptionOutOfMemoryExceptionNullReferenceExceptionCryptographicUnexpectedOperationExceptionpublic PackageDigitalSignature Sign(IEnumerable_1 parts, X509Certificate certificate, IEnumerable_1 relationshipSelectors, java.lang.String signatureId) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, IOException, FileFormatException, XmlException, OutOfMemoryException, NotSupportedException, OverflowException, KeyNotFoundException, AccessViolationException, CryptographicException, ThreadAbortException, RankException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionIOExceptionFileFormatExceptionXmlExceptionOutOfMemoryExceptionNotSupportedExceptionOverflowExceptionKeyNotFoundExceptionAccessViolationExceptionCryptographicExceptionThreadAbortExceptionRankExceptionCryptographicUnexpectedOperationExceptionpublic PackageDigitalSignature Sign(IEnumerable_1 parts, X509Certificate certificate, IEnumerable_1 relationshipSelectors, java.lang.String signatureId, IEnumerable_1 signatureObjects, IEnumerable_1 objectReferences) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IOException, FileFormatException, XmlException, UriFormatException, OutOfMemoryException, FormatException, NotSupportedException, IndexOutOfRangeException, OverflowException, AccessViolationException, CryptographicException, ThreadAbortException, RankException, NullReferenceException, KeyNotFoundException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIOExceptionFileFormatExceptionXmlExceptionUriFormatExceptionOutOfMemoryExceptionFormatExceptionNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionAccessViolationExceptionCryptographicExceptionThreadAbortExceptionRankExceptionNullReferenceExceptionKeyNotFoundExceptionCryptographicUnexpectedOperationExceptionpublic 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