public class EncryptedPackageEnvelope extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Packaging.EncryptedPackageEnvelope
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.EncryptedPackageEnvelope
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EncryptedPackageEnvelope() |
EncryptedPackageEnvelope(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptedPackageEnvelope |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EncryptedPackageEnvelope, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
static EncryptedPackageEnvelope |
Create(Stream envelopeStream,
PublishLicense publishLicense,
CryptoProvider cryptoProvider) |
static EncryptedPackageEnvelope |
Create(java.lang.String envelopeFileName,
PublishLicense publishLicense,
CryptoProvider cryptoProvider) |
static EncryptedPackageEnvelope |
CreateFromPackage(Stream envelopeStream,
Stream packageStream,
PublishLicense publishLicense,
CryptoProvider cryptoProvider) |
static EncryptedPackageEnvelope |
CreateFromPackage(java.lang.String envelopeFileName,
Stream packageStream,
PublishLicense publishLicense,
CryptoProvider cryptoProvider) |
void |
Dispose() |
void |
Flush() |
FileAccess |
getFileOpenAccess() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
Package |
GetPackage() |
PackageProperties |
getPackageProperties() |
RightsManagementInformation |
getRightsManagementInformation() |
StorageInfo |
getStorageInfo() |
static boolean |
IsEncryptedPackageEnvelope(Stream stream) |
static boolean |
IsEncryptedPackageEnvelope(java.lang.String fileName) |
static EncryptedPackageEnvelope |
Open(Stream envelopeStream) |
static EncryptedPackageEnvelope |
Open(java.lang.String envelopeFileName) |
static EncryptedPackageEnvelope |
Open(java.lang.String envelopeFileName,
FileAccess access) |
static EncryptedPackageEnvelope |
Open(java.lang.String envelopeFileName,
FileAccess access,
FileShare sharing) |
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EncryptedPackageEnvelope()
throws java.lang.Throwable
java.lang.Throwablepublic EncryptedPackageEnvelope(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static EncryptedPackageEnvelope cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EncryptedPackageEnvelope, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEncryptedPackageEnvelope instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
FileFormatException,
InvalidOperationException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
SystemException,
UnauthorizedAccessException,
ArgumentOutOfRangeException,
RankException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionFileFormatExceptionInvalidOperationExceptionDirectoryNotFoundExceptionIOExceptionNotSupportedExceptionSystemExceptionUnauthorizedAccessExceptionArgumentOutOfRangeExceptionRankExceptionpublic static EncryptedPackageEnvelope Create(Stream envelopeStream, PublishLicense publishLicense, CryptoProvider cryptoProvider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException, CultureNotFoundException, FileFormatException, IndexOutOfRangeException, RankException, InvalidDataException, FormatException, XmlException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionFileFormatExceptionIndexOutOfRangeExceptionRankExceptionInvalidDataExceptionFormatExceptionXmlExceptionKeyNotFoundExceptionpublic static EncryptedPackageEnvelope Create(java.lang.String envelopeFileName, PublishLicense publishLicense, CryptoProvider cryptoProvider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, IOException, SecurityException, FileNotFoundException, ObjectDisposedException, FileFormatException, RankException, InvalidDataException, FormatException, XmlException, OutOfMemoryException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionIOExceptionSecurityExceptionFileNotFoundExceptionObjectDisposedExceptionFileFormatExceptionRankExceptionInvalidDataExceptionFormatExceptionXmlExceptionOutOfMemoryExceptionKeyNotFoundExceptionpublic static EncryptedPackageEnvelope CreateFromPackage(Stream envelopeStream, Stream packageStream, PublishLicense publishLicense, CryptoProvider cryptoProvider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException, CultureNotFoundException, FileFormatException, IndexOutOfRangeException, RankException, InvalidDataException, FormatException, XmlException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionFileFormatExceptionIndexOutOfRangeExceptionRankExceptionInvalidDataExceptionFormatExceptionXmlExceptionKeyNotFoundExceptionpublic static EncryptedPackageEnvelope CreateFromPackage(java.lang.String envelopeFileName, Stream packageStream, PublishLicense publishLicense, CryptoProvider cryptoProvider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, IOException, SecurityException, FileNotFoundException, ObjectDisposedException, FileFormatException, RankException, InvalidDataException, FormatException, XmlException, OutOfMemoryException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionIOExceptionSecurityExceptionFileNotFoundExceptionObjectDisposedExceptionFileFormatExceptionRankExceptionInvalidDataExceptionFormatExceptionXmlExceptionOutOfMemoryExceptionKeyNotFoundExceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FileFormatException,
InvalidOperationException,
DirectoryNotFoundException,
IOException,
CultureNotFoundException,
NotSupportedException,
SystemException,
UnauthorizedAccessException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFileFormatExceptionInvalidOperationExceptionDirectoryNotFoundExceptionIOExceptionCultureNotFoundExceptionNotSupportedExceptionSystemExceptionUnauthorizedAccessExceptionpublic void Flush()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
IOException,
FileFormatException,
FormatException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
XmlException,
OverflowException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
SecurityException,
UnauthorizedAccessException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionFileFormatExceptionFormatExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionXmlExceptionOverflowExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionSecurityExceptionUnauthorizedAccessExceptionpublic FileAccess getFileOpenAccess() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
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 Package GetPackage() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SecurityException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, FileFormatException, FormatException, InvalidDataException, KeyNotFoundException, XmlException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSecurityExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionFileFormatExceptionFormatExceptionInvalidDataExceptionKeyNotFoundExceptionXmlExceptionpublic PackageProperties getPackageProperties() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
public RightsManagementInformation getRightsManagementInformation() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
public StorageInfo getStorageInfo() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
public static boolean IsEncryptedPackageEnvelope(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SecurityException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, FileFormatException, FormatException, SystemException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionFileFormatExceptionFormatExceptionSystemExceptionpublic static boolean IsEncryptedPackageEnvelope(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
IOException,
SecurityException,
UnauthorizedAccessException,
FileNotFoundException,
FileFormatException,
FormatException,
SystemException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionIOExceptionSecurityExceptionUnauthorizedAccessExceptionFileNotFoundExceptionFileFormatExceptionFormatExceptionSystemExceptionpublic static EncryptedPackageEnvelope Open(Stream envelopeStream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, FileFormatException, DirectoryNotFoundException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionFileFormatExceptionDirectoryNotFoundExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionpublic static EncryptedPackageEnvelope Open(java.lang.String envelopeFileName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IOException, FileNotFoundException, ObjectDisposedException, InvalidOperationException, DirectoryNotFoundException, FileFormatException, ArgumentOutOfRangeException, CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIOExceptionFileNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionDirectoryNotFoundExceptionFileFormatExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionpublic static EncryptedPackageEnvelope Open(java.lang.String envelopeFileName, FileAccess access) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IOException, FileNotFoundException, ObjectDisposedException, InvalidOperationException, DirectoryNotFoundException, FileFormatException, ArgumentOutOfRangeException, CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIOExceptionFileNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionDirectoryNotFoundExceptionFileFormatExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionpublic static EncryptedPackageEnvelope Open(java.lang.String envelopeFileName, FileAccess access, FileShare sharing) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, IOException, SecurityException, FileNotFoundException, ObjectDisposedException, FileFormatException, DirectoryNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionIOExceptionSecurityExceptionFileNotFoundExceptionObjectDisposedExceptionFileFormatExceptionDirectoryNotFoundExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject