public class RsaSecurityKey extends AsymmetricSecurityKey
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IdentityModel.Tokens.RsaSecurityKey
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.RsaSecurityKey
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RsaSecurityKey() |
RsaSecurityKey(java.lang.Object instance)
Internal constructor.
|
RsaSecurityKey(RSA rsa) |
| Modifier and Type | Method and Description |
|---|---|
static RsaSecurityKey |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RsaSecurityKey, 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 requiresPrivateKey) |
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 RsaSecurityKey()
throws java.lang.Throwable
java.lang.Throwablepublic RsaSecurityKey(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic RsaSecurityKey(RSA rsa) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static RsaSecurityKey cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RsaSecurityKey, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRsaSecurityKey instancejava.lang.Throwable - in case of error during cast operationpublic byte[] DecryptKey(java.lang.String algorithm,
byte[] keyData)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
OverflowException,
OutOfMemoryException
DecryptKey in class SecurityKeyjava.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionpublic byte[] DecryptKey(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
OverflowException,
OutOfMemoryException
DecryptKey in class SecurityKeyjava.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionpublic byte[] EncryptKey(java.lang.String algorithm,
byte[] keyData)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
OverflowException,
OutOfMemoryException
EncryptKey in class SecurityKeyjava.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionpublic byte[] EncryptKey(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
OverflowException,
OutOfMemoryException
EncryptKey in class SecurityKeyjava.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionpublic AsymmetricAlgorithm GetAsymmetricAlgorithm(java.lang.String algorithm, boolean requiresPrivateKey) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException
GetAsymmetricAlgorithm in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionpublic 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
GetSignatureDeformatter in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionUnauthorizedAccessExceptionIOExceptionPlatformNotSupportedExceptionCryptographicExceptionKeyNotFoundExceptionpublic AsymmetricSignatureFormatter GetSignatureFormatter(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
GetSignatureFormatter in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionUnauthorizedAccessExceptionIOExceptionPlatformNotSupportedExceptionCryptographicExceptionKeyNotFoundExceptionpublic boolean HasPrivateKey()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
CryptographicException,
RankException,
ArgumentOutOfRangeException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
UnauthorizedAccessException,
PrivilegeNotHeldException,
NotSupportedException
HasPrivateKey in class AsymmetricSecurityKeyjava.lang.ThrowableArgumentExceptionArgumentNullExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedExceptionpublic 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
IsSupportedAlgorithm in class SecurityKeyjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionUnauthorizedAccessExceptionIOExceptionPlatformNotSupportedExceptionCryptographicExceptionKeyNotFoundExceptionpublic 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