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=10.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, InvalidOperationException, PlatformNotSupportedException, SynchronizationLockException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionSynchronizationLockExceptionArgumentOutOfRangeExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionpublic 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 PackageDigitalSignature Countersign(X509Certificate certificate, IEnumerable_1 signatures) 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,
PlatformNotSupportedException,
InvalidOperationException,
LockRecursionException,
SynchronizationLockException
public 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 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, 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 ReadOnlyCollection_1 getSignatures() 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 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,
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, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, 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(org.mases.jcobridge.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,
FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionFormatExceptionpublic PackageDigitalSignature Sign(IEnumerable_1 parts) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException, NotSupportedException, InvalidTimeZoneException, OverflowException, SecurityException, CryptographicException, ArrayTypeMismatchException, RankException, InvalidCastException, OutOfMemoryException, IOException, FileFormatException, XmlException, KeyNotFoundException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionInvalidTimeZoneExceptionOverflowExceptionSecurityExceptionCryptographicExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastExceptionOutOfMemoryExceptionIOExceptionFileFormatExceptionXmlExceptionKeyNotFoundExceptionCryptographicUnexpectedOperationExceptionpublic PackageDigitalSignature Sign(IEnumerable_1 parts, X509Certificate certificate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, IOException, FileFormatException, FormatException, XmlException, KeyNotFoundException, CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionIOExceptionFileFormatExceptionFormatExceptionXmlExceptionKeyNotFoundExceptionCryptographicExceptionpublic PackageDigitalSignature Sign(IEnumerable_1 parts, X509Certificate certificate, IEnumerable_1 relationshipSelectors) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, IOException, FileFormatException, FormatException, XmlException, KeyNotFoundException, MissingMethodException, TargetInvocationException, CryptographicException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionIOExceptionFileFormatExceptionFormatExceptionXmlExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionCryptographicUnexpectedOperationExceptionpublic PackageDigitalSignature Sign(IEnumerable_1 parts, X509Certificate certificate, IEnumerable_1 relationshipSelectors, java.lang.String signatureId) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, IOException, FileFormatException, XmlException, FormatException, OverflowException, KeyNotFoundException, MissingMethodException, TargetInvocationException, CryptographicException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionIOExceptionFileFormatExceptionXmlExceptionFormatExceptionOverflowExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionCryptographicUnexpectedOperationExceptionpublic 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, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, FormatException, IOException, FileFormatException, XmlException, UnreachableException, SecurityException, OverflowException, KeyNotFoundException, MissingMethodException, TargetInvocationException, CryptographicException, AsnContentException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionCultureNotFoundExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionArgumentOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionFormatExceptionIOExceptionFileFormatExceptionXmlExceptionUnreachableExceptionSecurityExceptionOverflowExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionAsnContentExceptionCryptographicUnexpectedOperationExceptionpublic 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, AsnContentException, TypeLoadException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionUnreachableExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionCryptographicExceptionXPathExceptionAsnContentExceptionTypeLoadException