public class XpsDigitalSignature extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Xps.Packaging.XpsDigitalSignature
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: ReachFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: ReachFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Xps.Packaging.XpsDigitalSignature
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XpsDigitalSignature() |
XpsDigitalSignature(java.lang.Object instance)
Internal constructor.
|
XpsDigitalSignature(PackageDigitalSignature packageSignature,
XpsDocument _package)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static XpsDigitalSignature |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XpsDigitalSignature, a cast assert is made to check if types are compatible. |
boolean |
getDocumentPropertiesRestricted()
Gets the value of the .NET property DocumentPropertiesRestricted.
|
Nullable_1 |
getId()
Gets the value of the .NET property Id.
|
boolean |
getIsCertificateAvailable()
Gets the value of the .NET property IsCertificateAvailable.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getSignatureOriginRestricted()
Gets the value of the .NET property SignatureOriginRestricted.
|
java.lang.String |
getSignatureType()
Gets the value of the .NET property SignatureType.
|
byte[] |
getSignatureValue()
Gets the value of the .NET property SignatureValue.
|
IXpsFixedDocumentSequenceReader |
getSignedDocumentSequence()
Gets the value of the .NET property SignedDocumentSequence.
|
X509Certificate |
getSignerCertificate()
Gets the value of the .NET property SignerCertificate.
|
DateTime |
getSigningTime()
Gets the value of the .NET property SigningTime.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
VerifyResult |
Verify()
Invokes the .NET member Verify.
|
VerifyResult |
Verify(X509Certificate certificate)
Invokes the .NET member Verify.
|
X509ChainStatusFlags |
VerifyCertificate()
Invokes the .NET member VerifyCertificate.
|
static X509ChainStatusFlags |
VerifyCertificate(X509Certificate certificate)
Invokes the .NET member VerifyCertificate.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XpsDigitalSignature()
throws java.lang.Throwable
java.lang.Throwablepublic XpsDigitalSignature(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic XpsDigitalSignature(PackageDigitalSignature packageSignature, XpsDocument _package) throws java.lang.Throwable
packageSignature - the argument of type PackageDigitalSignature_package - the argument of type XpsDocumentjava.lang.Throwable - if the .NET constructor failspublic static XpsDigitalSignature cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XpsDigitalSignature, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXpsDigitalSignature instancejava.lang.Throwable - in case of error during cast operationpublic boolean getDocumentPropertiesRestricted()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IOException,
NotSupportedException,
FileFormatException,
XmlException,
CryptographicException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
XPathException,
OverflowException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itXPathException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Nullable_1 getId() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IOException, NotSupportedException, SecurityException, FileFormatException, XmlSchemaException, XmlException, CryptographicException, IndexOutOfRangeException, XPathException, FormatException, NotImplementedException, RegexMatchTimeoutException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlSchemaException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itXPathException - if the .NET member raises itFormatException - if the .NET member raises itNotImplementedException - if the .NET member raises itRegexMatchTimeoutException - if the .NET member raises itOverflowException - if the .NET member raises itpublic boolean getIsCertificateAvailable()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
IOException,
IndexOutOfRangeException,
ObjectDisposedException,
FileFormatException,
XmlException,
OutOfMemoryException,
UnreachableException,
NotSupportedException,
RankException,
ArrayTypeMismatchException,
CryptographicException,
XPathException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCryptographicException - if the .NET member raises itXPathException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic boolean getSignatureOriginRestricted()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IOException,
NotSupportedException,
FileFormatException,
XmlException,
CryptographicException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
XPathException,
OverflowException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itXPathException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic java.lang.String getSignatureType()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic byte[] getSignatureValue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IOException,
NotSupportedException,
SecurityException,
FileFormatException,
XmlSchemaException,
XmlException,
CryptographicException,
IndexOutOfRangeException,
XPathException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlSchemaException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itXPathException - if the .NET member raises itFormatException - if the .NET member raises itpublic IXpsFixedDocumentSequenceReader getSignedDocumentSequence() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IOException, ArgumentNullException, IndexOutOfRangeException, FileFormatException, XmlException, InvalidDataException, OutOfMemoryException, KeyNotFoundException, XpsPackagingException, OverflowException, FormatException, CryptographicException, XPathException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itInvalidDataException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itXpsPackagingException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itXPathException - if the .NET member raises itpublic X509Certificate getSignerCertificate() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, OutOfMemoryException, NotSupportedException, CryptographicException, ObjectDisposedException, XmlSchemaException, RankException, ArrayTypeMismatchException, XPathException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itCryptographicException - if the .NET member raises itObjectDisposedException - if the .NET member raises itXmlSchemaException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itXPathException - if the .NET member raises itFormatException - if the .NET member raises itpublic DateTime getSigningTime() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IOException, NotSupportedException, FileFormatException, XmlException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, XPathException, OverflowException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itXPathException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic VerifyResult Verify() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, OutOfMemoryException, NotSupportedException, ObjectDisposedException, CryptographicException, XmlException, XPathException, MissingMethodException, TargetInvocationException, TypeLoadException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFileFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itXmlException - if the .NET member raises itXPathException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itTypeLoadException - if the .NET member raises itpublic VerifyResult Verify(X509Certificate certificate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IOException, FileFormatException, XmlException, CryptographicException, XPathException, OverflowException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, OutOfMemoryException, TypeLoadException
certificate - the argument of type X509Certificatejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itXPathException - if the .NET member raises itOverflowException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itTypeLoadException - if the .NET member raises itpublic X509ChainStatusFlags VerifyCertificate() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IOException, IndexOutOfRangeException, FileFormatException, XmlException, OutOfMemoryException, NotSupportedException, CryptographicException, ObjectDisposedException, XmlSchemaException, RankException, ArrayTypeMismatchException, XPathException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itCryptographicException - if the .NET member raises itObjectDisposedException - if the .NET member raises itXmlSchemaException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itXPathException - if the .NET member raises itFormatException - if the .NET member raises itpublic static X509ChainStatusFlags VerifyCertificate(X509Certificate certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, CryptographicException, OutOfMemoryException
certificate - the argument of type X509Certificatejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises it