Share via


IRSAPrivateCrtKey Interface

Definition

The interface to an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.

[Android.Runtime.Register("java/security/interfaces/RSAPrivateCrtKey", "", "Java.Security.Interfaces.IRSAPrivateCrtKeyInvoker")]
public interface IRSAPrivateCrtKey : IDisposable, Java.Interop.IJavaPeerable, Java.Security.Interfaces.IRSAPrivateKey
[<Android.Runtime.Register("java/security/interfaces/RSAPrivateCrtKey", "", "Java.Security.Interfaces.IRSAPrivateCrtKeyInvoker")>]
type IRSAPrivateCrtKey = interface
    interface IRSAPrivateKey
    interface IRSAKey
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface IPrivateKey
    interface IKey
    interface ISerializable
Attributes
Implements

Remarks

The interface to an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.

Added in 1.2.

Java documentation for java.security.interfaces.RSAPrivateCrtKey.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

SerialVersionUID

The type fingerprint that is set to indicate serialization compatibility with a previous version of the type.

Properties

Algorithm

Returns the name of the algorithm of this key.

(Inherited from IKey)
CrtCoefficient

Returns the CRT coefficient, q^-1 mod p.

Format

Returns the name of the format used to encode this key, or null if it can not be encoded.

(Inherited from IKey)
Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
Modulus

Returns the modulus.

(Inherited from IRSAKey)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)
PrimeExponentP

Returns the CRT exponent of the primet p.

PrimeExponentQ

Returns the CRT exponent of the prime q.

PrimeP

Returns the prime factor p of n.

PrimeQ

Returns the prime factor q of n.

PrivateExponent

Returns the private exponent d.

(Inherited from IRSAPrivateKey)
PublicExponent

Returns the public exponent e.

Methods

Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
GetEncoded()

Returns the key in its primary encoding format, or null if this key does not support encoding.

(Inherited from IKey)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to