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=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.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,
MissingManifestResourceException,
ObjectDisposedException,
ArgumentException,
FileFormatException,
InvalidOperationException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
SystemException,
UnauthorizedAccessException,
ArgumentOutOfRangeException,
RankException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentExceptionFileFormatExceptionInvalidOperationExceptionDirectoryNotFoundExceptionIOExceptionNotSupportedExceptionSystemExceptionUnauthorizedAccessExceptionArgumentOutOfRangeExceptionRankExceptionpublic static EncryptedPackageEnvelope Create(Stream envelopeStream, PublishLicense publishLicense, CryptoProvider cryptoProvider) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, NotSupportedException, CultureNotFoundException, FileFormatException, EndOfStreamException, ArgumentOutOfRangeException, RankException, InvalidCastException, XmlException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNotSupportedExceptionCultureNotFoundExceptionFileFormatExceptionEndOfStreamExceptionArgumentOutOfRangeExceptionRankExceptionInvalidCastExceptionXmlExceptionKeyNotFoundExceptionpublic static EncryptedPackageEnvelope Create(java.lang.String envelopeFileName, PublishLicense publishLicense, CryptoProvider cryptoProvider) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, IOException, SecurityException, FileNotFoundException, CultureNotFoundException, FileFormatException, EndOfStreamException, RankException, InvalidCastException, FormatException, XmlException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIOExceptionSecurityExceptionFileNotFoundExceptionCultureNotFoundExceptionFileFormatExceptionEndOfStreamExceptionRankExceptionInvalidCastExceptionFormatExceptionXmlExceptionKeyNotFoundExceptionpublic static EncryptedPackageEnvelope CreateFromPackage(Stream envelopeStream, Stream packageStream, PublishLicense publishLicense, CryptoProvider cryptoProvider) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, NotSupportedException, CultureNotFoundException, FileFormatException, EndOfStreamException, ArgumentOutOfRangeException, RankException, InvalidCastException, XmlException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNotSupportedExceptionCultureNotFoundExceptionFileFormatExceptionEndOfStreamExceptionArgumentOutOfRangeExceptionRankExceptionInvalidCastExceptionXmlExceptionKeyNotFoundExceptionpublic static EncryptedPackageEnvelope CreateFromPackage(java.lang.String envelopeFileName, Stream packageStream, PublishLicense publishLicense, CryptoProvider cryptoProvider) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, IOException, SecurityException, FileNotFoundException, CultureNotFoundException, FileFormatException, EndOfStreamException, RankException, InvalidCastException, FormatException, XmlException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIOExceptionSecurityExceptionFileNotFoundExceptionCultureNotFoundExceptionFileFormatExceptionEndOfStreamExceptionRankExceptionInvalidCastExceptionFormatExceptionXmlExceptionKeyNotFoundExceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentException,
FileFormatException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
SystemException,
ArgumentOutOfRangeException,
UnauthorizedAccessException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionFileFormatExceptionDirectoryNotFoundExceptionIOExceptionNotSupportedExceptionSystemExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionpublic void Flush()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IOException,
SecurityException,
UnauthorizedAccessException,
FileFormatException,
KeyNotFoundException,
NotSupportedException,
IndexOutOfRangeException,
OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIOExceptionSecurityExceptionUnauthorizedAccessExceptionFileFormatExceptionKeyNotFoundExceptionNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionpublic FileAccess getFileOpenAccess() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
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, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, MissingMethodException, SecurityException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, FileFormatException, InvalidCastException, KeyNotFoundException, XmlException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotSupportedExceptionMissingMethodExceptionSecurityExceptionIndexOutOfRangeExceptionUnauthorizedAccessExceptionIOExceptionFileFormatExceptionInvalidCastExceptionKeyNotFoundExceptionXmlExceptionpublic PackageProperties getPackageProperties() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public RightsManagementInformation getRightsManagementInformation() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
public StorageInfo getStorageInfo() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
public static boolean IsEncryptedPackageEnvelope(Stream stream) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException, FileFormatException, SystemException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionFileFormatExceptionSystemExceptionpublic static boolean IsEncryptedPackageEnvelope(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
PathTooLongException,
NotSupportedException,
IOException,
SecurityException,
UnauthorizedAccessException,
ArgumentOutOfRangeException,
FileNotFoundException,
FileFormatException,
SystemException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionPathTooLongExceptionNotSupportedExceptionIOExceptionSecurityExceptionUnauthorizedAccessExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionFileFormatExceptionSystemExceptionpublic static EncryptedPackageEnvelope Open(Stream envelopeStream) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, NotSupportedException, FileFormatException, ArgumentOutOfRangeException, DirectoryNotFoundException
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNotSupportedExceptionFileFormatExceptionArgumentOutOfRangeExceptionDirectoryNotFoundExceptionpublic static EncryptedPackageEnvelope Open(java.lang.String envelopeFileName) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, IOException, FileNotFoundException, ObjectDisposedException, DirectoryNotFoundException, FileFormatException
public static EncryptedPackageEnvelope Open(java.lang.String envelopeFileName, FileAccess access) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, IOException, FileNotFoundException, ObjectDisposedException, DirectoryNotFoundException, FileFormatException
public static EncryptedPackageEnvelope Open(java.lang.String envelopeFileName, FileAccess access, FileShare sharing) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, IOException, SecurityException, FileNotFoundException, FileFormatException, DirectoryNotFoundException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject