Compartilhar via


KeyPairGeneratorSpec.KeySize Property

Definition

Returns the key size specified by this parameter.

public int KeySize { [Android.Runtime.Register("getKeySize", "()I", "")] get; }
[<get: Android.Runtime.Register("getKeySize", "()I", "")>]
member this.KeySize : int

Property Value

Attributes

Remarks

Returns the key size specified by this parameter. For instance, for RSA this will return the modulus size and for EC it will return the field size.

Java documentation for android.security.KeyPairGeneratorSpec.getKeySize().

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.

Applies to