Blackberry 8830 でアプリケーションを開発しました。また、永続ストアにデータを保存しました。ただし、データを保護するために何らかの保護メカニズムを使用したいと考えています。
次のコードを使用していました。
try{
codeSigningKey = codeSigningKey.get(ApplicationDescriptor.currentApplicationDescriptor().getModuleHandle(), 1234);
_bill=new Vector();
_bill=vtr;
synchronized(billing)
{
billing.setContents(new ControlledAccess(_bill, codeSigningKey));
billing.commit();
}
}
catch(ControlledAccessException cae){
System.out.println("Signing keys does not match: No Autorization to access data . ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
}`
上記のメカニズムまたはその他の方法を使用して、どのようにデータを保護できますか?