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 an optional containing 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
An Optional containing a Java byte array, or an empty optional if the scalar cannot be extracted.
- Attributes
Remarks
If the scalar is available, each access returns an optional containing a new copy of the unpruned byte array.
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.