SubkeyAdder
class SubkeyAdder
Adds a subkey to an existing secret key ring.
Flow mirrors OpenKeychain PgpKeyOperation.modifySecretKeyRing step 5 (SaveKeyringParcel.SubkeyAdd → createKey → generateSubkeyBindingSignature → PGPSecretKeyRing.insertSecretKey).
BC note: stock bcpg has no addSubkeyBindingCertification; attach the SUBKEY_BINDING certification with PGPPublicKey.addCertification on the subkey material (same effect as OpenKeychain's patched helper).
Functions
Link copied to clipboard
Adds a subkey described by request and returns the updated armored secret key ring.