licel / jcardsim

https://jcardsim.org
222 stars 123 forks source link

Implement KeyBuilder#buildKey(byte,byte,short,boolean) #211

Open simonratner opened 6 months ago

simonratner commented 6 months ago

The four-argument version of this method is not implemented, only the three-argument method is available.

https://docs.oracle.com/en/java/javacard/3.1/jc_api_srvc/api_classic/javacard/security/KeyBuilder.html#buildKey(byte,byte,short,boolean)

simonratner commented 6 months ago

Additionally, KeyBuilder is missing support for KeyBuilder.TYPE_EC_FP_PRIVATE_TRANSIENT_* types (or TRANSIENT versions of all asymmetric key types, for that matter).