
In defense against attack, assume the imported public key is not trusted and check it matches the private key if set. Added APIs that allow application to explicitly trust public key. Original APIs default to not trusting public key.
In defense against attack, assume the imported public key is not trusted and check it matches the private key if set. Added APIs that allow application to explicitly trust public key. Original APIs default to not trusting public key.