public class DataProtector extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.DataProtector
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: System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.DataProtector
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataProtector() |
DataProtector(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DataProtector |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataProtector, a cast assert is made to check if types are compatible. |
static DataProtector |
Create(java.lang.String dupParam0,
java.lang.String dupParam1,
java.lang.String dupParam2,
JCORefOut dupParam3) |
static DataProtector |
Create(java.lang.String providerClass,
java.lang.String applicationName,
java.lang.String primaryPurpose,
java.lang.String... specificPurposes) |
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
|
boolean |
IsReprotectRequired(byte[] encryptedData) |
boolean |
IsReprotectRequired(JCORefOut dupParam0) |
byte[] |
Protect(byte[] userData) |
byte[] |
Protect(JCORefOut dupParam0) |
void |
setJCOInstance(JCObject instance) |
byte[] |
Unprotect(byte[] encryptedData) |
byte[] |
Unprotect(JCORefOut dupParam0) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataProtector()
throws java.lang.Throwable
java.lang.Throwablepublic DataProtector(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DataProtector cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataProtector, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataProtector instancejava.lang.Throwable - in case of error during cast operationpublic static DataProtector Create(java.lang.String dupParam0, java.lang.String dupParam1, java.lang.String dupParam2, JCORefOut dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, TypeLoadException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionTypeLoadExceptionObjectDisposedExceptionpublic static DataProtector Create(java.lang.String providerClass, java.lang.String applicationName, java.lang.String primaryPurpose, java.lang.String... specificPurposes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, TypeLoadException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionTypeLoadExceptionObjectDisposedExceptionpublic 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 boolean IsReprotectRequired(byte[] encryptedData)
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsReprotectRequired(JCORefOut dupParam0) throws java.lang.Throwable
java.lang.Throwablepublic byte[] Protect(byte[] userData)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
SecurityException,
InvalidOperationException,
ArgumentOutOfRangeException,
ApplicationException,
CultureNotFoundException,
NotSupportedException,
TypeLoadException,
IOException,
ObjectDisposedException,
CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionSecurityExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionApplicationExceptionCultureNotFoundExceptionNotSupportedExceptionTypeLoadExceptionIOExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionpublic byte[] Protect(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, SecurityException, InvalidOperationException, ArgumentOutOfRangeException, ApplicationException, CultureNotFoundException, NotSupportedException, TypeLoadException, IOException, ObjectDisposedException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionSecurityExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionApplicationExceptionCultureNotFoundExceptionNotSupportedExceptionTypeLoadExceptionIOExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic byte[] Unprotect(byte[] encryptedData)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
SecurityException,
InvalidOperationException,
ArgumentOutOfRangeException,
ApplicationException,
CultureNotFoundException,
NotSupportedException,
TypeLoadException,
IOException,
ObjectDisposedException,
CryptographicUnexpectedOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
OutOfMemoryException,
MissingManifestResourceException,
AbandonedMutexException,
CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionSecurityExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionApplicationExceptionCultureNotFoundExceptionNotSupportedExceptionTypeLoadExceptionIOExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionAbandonedMutexExceptionCryptographicExceptionpublic byte[] Unprotect(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, SecurityException, InvalidOperationException, ArgumentOutOfRangeException, ApplicationException, CultureNotFoundException, NotSupportedException, TypeLoadException, IOException, ObjectDisposedException, CryptographicUnexpectedOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, AbandonedMutexException, CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionSecurityExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionApplicationExceptionCultureNotFoundExceptionNotSupportedExceptionTypeLoadExceptionIOExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionAbandonedMutexExceptionCryptographicException