public class X509AsymmetricSecurityKey extends AsymmetricSecurityKey
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IdentityModel.Tokens.X509AsymmetricSecurityKey
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.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.IdentityModel
|
static java.lang.String |
className
Qualified class name: System.IdentityModel.Tokens.X509AsymmetricSecurityKey
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
X509AsymmetricSecurityKey() |
X509AsymmetricSecurityKey(java.lang.Object instance)
Internal constructor.
|
X509AsymmetricSecurityKey(X509Certificate2 certificate) |
| Modifier and Type | Method and Description |
|---|---|
static X509AsymmetricSecurityKey |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into X509AsymmetricSecurityKey, a cast assert is made to check if types are compatible. |
byte[] |
DecryptKey(java.lang.String algorithm,
byte[] keyData) |
byte[] |
DecryptKey(java.lang.String dupParam0,
JCORefOut dupParam1) |
byte[] |
EncryptKey(java.lang.String algorithm,
byte[] keyData) |
byte[] |
EncryptKey(java.lang.String dupParam0,
JCORefOut dupParam1) |
AsymmetricAlgorithm |
GetAsymmetricAlgorithm(java.lang.String algorithm,
boolean privateKey) |
HashAlgorithm |
GetHashAlgorithmForSignature(java.lang.String algorithm) |
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
|
AsymmetricSignatureDeformatter |
GetSignatureDeformatter(java.lang.String algorithm) |
AsymmetricSignatureFormatter |
GetSignatureFormatter(java.lang.String algorithm) |
boolean |
HasPrivateKey() |
boolean |
IsAsymmetricAlgorithm(java.lang.String algorithm) |
boolean |
IsSupportedAlgorithm(java.lang.String algorithm) |
boolean |
IsSymmetricAlgorithm(java.lang.String algorithm) |
void |
setJCOInstance(JCObject instance) |
getKeySizepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public X509AsymmetricSecurityKey()
throws java.lang.Throwable
java.lang.Throwablepublic X509AsymmetricSecurityKey(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic X509AsymmetricSecurityKey(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static X509AsymmetricSecurityKey cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into X509AsymmetricSecurityKey, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedX509AsymmetricSecurityKey instancejava.lang.Throwable - in case of error during cast operationpublic byte[] DecryptKey(java.lang.String algorithm,
byte[] keyData)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
CryptographicException,
OutOfMemoryException,
SecurityException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
UnauthorizedAccessException,
PrivilegeNotHeldException,
ThreadAbortException,
MulticastNotSupportedException,
ConfigurationErrorsException,
OverflowException
DecryptKey in class SecurityKeyjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionThreadAbortExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOverflowExceptionpublic byte[] DecryptKey(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
CryptographicException,
OutOfMemoryException,
SecurityException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
UnauthorizedAccessException,
PrivilegeNotHeldException,
ThreadAbortException,
MulticastNotSupportedException,
ConfigurationErrorsException,
OverflowException
DecryptKey in class SecurityKeyjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionThreadAbortExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOverflowExceptionpublic byte[] EncryptKey(java.lang.String algorithm,
byte[] keyData)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
FormatException,
CryptographicException,
OutOfMemoryException,
UnauthorizedAccessException,
PrivilegeNotHeldException,
NotSupportedException,
ThreadAbortException,
MissingMethodException,
MulticastNotSupportedException,
ConfigurationErrorsException,
OverflowException,
SecurityException
EncryptKey in class SecurityKeyjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedExceptionThreadAbortExceptionMissingMethodExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionpublic byte[] EncryptKey(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
FormatException,
CryptographicException,
OutOfMemoryException,
UnauthorizedAccessException,
PrivilegeNotHeldException,
NotSupportedException,
ThreadAbortException,
MissingMethodException,
MulticastNotSupportedException,
ConfigurationErrorsException,
OverflowException,
SecurityException
EncryptKey in class SecurityKeyjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedExceptionThreadAbortExceptionMissingMethodExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionpublic AsymmetricAlgorithm GetAsymmetricAlgorithm(java.lang.String algorithm, boolean privateKey) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, CryptographicException, OutOfMemoryException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, UnauthorizedAccessException, PrivilegeNotHeldException, ThreadAbortException, MulticastNotSupportedException, ConfigurationErrorsException, OverflowException
GetAsymmetricAlgorithm in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionThreadAbortExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOverflowExceptionpublic HashAlgorithm GetHashAlgorithmForSignature(java.lang.String algorithm) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException, SecurityException, ApplicationException, UnauthorizedAccessException, IOException, PlatformNotSupportedException, CryptographicException, KeyNotFoundException
GetHashAlgorithmForSignature in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionUnauthorizedAccessExceptionIOExceptionPlatformNotSupportedExceptionCryptographicExceptionKeyNotFoundExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AsymmetricSecurityKeyString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AsymmetricSecurityKeyString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AsymmetricSecurityKeyObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AsymmetricSecurityKeyString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class AsymmetricSecurityKeyJCType representing the CLR Type of the instantiated Classpublic AsymmetricSignatureDeformatter GetSignatureDeformatter(java.lang.String algorithm) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException, SecurityException, ApplicationException, UnauthorizedAccessException, IOException, PlatformNotSupportedException, CryptographicException, KeyNotFoundException, PrivilegeNotHeldException, ThreadAbortException
GetSignatureDeformatter in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionUnauthorizedAccessExceptionIOExceptionPlatformNotSupportedExceptionCryptographicExceptionKeyNotFoundExceptionPrivilegeNotHeldExceptionThreadAbortExceptionpublic AsymmetricSignatureFormatter GetSignatureFormatter(java.lang.String algorithm) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, CryptographicException, OutOfMemoryException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, UnauthorizedAccessException, PrivilegeNotHeldException, ThreadAbortException, MulticastNotSupportedException, ConfigurationErrorsException, OverflowException, ApplicationException, TypeLoadException, IOException, PlatformNotSupportedException, KeyNotFoundException
GetSignatureFormatter in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionThreadAbortExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOverflowExceptionApplicationExceptionTypeLoadExceptionIOExceptionPlatformNotSupportedExceptionKeyNotFoundExceptionpublic boolean HasPrivateKey()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
CryptographicException,
OutOfMemoryException,
SecurityException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
UnauthorizedAccessException,
PrivilegeNotHeldException,
ThreadAbortException,
MulticastNotSupportedException,
ConfigurationErrorsException,
OverflowException
HasPrivateKey in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionThreadAbortExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOverflowExceptionpublic boolean IsAsymmetricAlgorithm(java.lang.String algorithm)
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
OverflowException,
OutOfMemoryException,
SecurityException,
ApplicationException,
IOException,
PlatformNotSupportedException,
CryptographicException,
KeyNotFoundException
IsAsymmetricAlgorithm in class SecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionIOExceptionPlatformNotSupportedExceptionCryptographicExceptionKeyNotFoundExceptionpublic boolean IsSupportedAlgorithm(java.lang.String algorithm)
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
OverflowException,
OutOfMemoryException,
SecurityException,
ApplicationException,
UnauthorizedAccessException,
IOException,
PlatformNotSupportedException,
CryptographicException,
KeyNotFoundException,
PrivilegeNotHeldException,
ThreadAbortException
IsSupportedAlgorithm in class SecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionUnauthorizedAccessExceptionIOExceptionPlatformNotSupportedExceptionCryptographicExceptionKeyNotFoundExceptionPrivilegeNotHeldExceptionThreadAbortExceptionpublic boolean IsSymmetricAlgorithm(java.lang.String algorithm)
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
FormatException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OverflowException,
OutOfMemoryException,
SecurityException,
ApplicationException,
CultureNotFoundException,
NotSupportedException,
TypeLoadException,
IOException,
PlatformNotSupportedException,
CryptographicException,
NotImplementedException,
KeyNotFoundException
IsSymmetricAlgorithm in class SecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionNotSupportedExceptionTypeLoadExceptionIOExceptionPlatformNotSupportedExceptionCryptographicExceptionNotImplementedExceptionKeyNotFoundExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class AsymmetricSecurityKey