ECDSA
Properties
Whether this key isis inside any secure hardware (TEE or StrognBox).
Whether this key is actually backed by a StrongBox secure element (precise on API 31+; false on older devices).
The underlying JCA PrivateKey object.
The underlying JCA PrivateKey object.
Whether the signer may ask for user interaction when sign is called
The Keymaster security level backing this key: one of KeyProperties.SECURITY_LEVEL_STRONGBOX, KeyProperties.SECURITY_LEVEL_TRUSTED_ENVIRONMENT, KeyProperties.SECURITY_LEVEL_SOFTWARE or KeyProperties.SECURITY_LEVEL_UNKNOWN. Requires API 31+; on older devices returns KeyProperties.SECURITY_LEVEL_UNKNOWN (use isStrongBoxBacked / keyInfo.isInsideSecureHardware there).
Functions
Performs key agreement
Gets a platform verifier for signatures generated by this Signer.
Get a verifier for signatures generated by this Signer.
Signs data. Might ask for user confirmation first if this Signer.
Shorthand helper to create an X509Certificate by signing tbsCertificate
Shorthand helper to create a Pkcs10CertificationRequest by signing tbsCsr
Try to ensure that the Signer is ready to immediately sign data, on a best-effort basis. For example, if user authorization allows signing for a given timeframe, this will prompts for authorization now.