IXECPrivateKey.Scalar Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the scalar value encoded as an unpruned byte array.
public Java.Util.Optional? Scalar { [Android.Runtime.Register("getScalar", "()Ljava/util/Optional;", "GetGetScalarHandler:Java.Security.Interfaces.IXECPrivateKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getScalar", "()Ljava/util/Optional;", "GetGetScalarHandler:Java.Security.Interfaces.IXECPrivateKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
member this.Scalar : Java.Util.Optional
Property Value
The unpruned encoded scalar value, or an empty Optional if the scalar cannot be extracted.
- Attributes
Remarks
Gets the scalar value encoded as an unpruned byte array. A new copy of the array is returned each time this property is accessed.
The returned Optional is empty if the scalar cannot be extracted, such as when the provider is a hardware token and the private key is not allowed to leave the cryptographic boundary.
Java documentation for java.security.interfaces.XECPrivateKey.getScalar().
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.