@@ -24,7 +24,7 @@ public class ASAPInternalPeerFS implements
2424 private CharSequence owner ;
2525 private HashMap <CharSequence , EngineSetting > folderMap ;
2626 private final long maxExecutionTime ;
27- private ASAPKeyStore ASAPKeyStore ;
27+ private ASAPKeyStore asapKeyStore ;
2828 private DefaultSecurityAdministrator defaultSecurityAdministrator = new DefaultSecurityAdministrator ();
2929 private InMemoASAPKeyStore inMemoASAPKeyStore ;
3030
@@ -348,7 +348,7 @@ public ASAPConnection handleConnection(
348348 // TODO add white / black list.
349349 ASAPSessionImpl asapConnection = new ASAPSessionImpl (
350350 is , os , this , new ASAP_Modem_Impl (),
351- this , this .ASAPKeyStore ,
351+ this , this .asapKeyStore ,
352352 maxExecutionTime , this , this , encrypt , sign , connectionType );
353353
354354 StringBuilder sb = new StringBuilder ();
@@ -604,8 +604,12 @@ public void deactivateOnlineMessages() {
604604
605605
606606 @ Override
607- public void setASAPBasicKeyStorage (ASAPKeyStore ASAPKeyStore ) {
608- this .ASAPKeyStore = ASAPKeyStore ;
607+ public void setASAPKeyStore (ASAPKeyStore asapKeyStore ) {
608+ this .asapKeyStore = asapKeyStore ;
609+ }
610+
611+ public ASAPKeyStore getASAPKeyStore () {
612+ return this .asapKeyStore ;
609613 }
610614
611615 public void sendTransientASAPAssimilateMessage (CharSequence format , CharSequence uri , byte [] messageAsBytes )
@@ -688,7 +692,7 @@ public void handleUndecryptableMessage(
688692
689693 ///////////////////////////////// SharkNet
690694 @ Override
691- public ASAPKeyStore getASAPKeyStore () throws ASAPSecurityException {
695+ public ASAPKeyStore getAsapKeyStore () throws ASAPSecurityException {
692696 if (this .inMemoASAPKeyStore == null ) {
693697 this .inMemoASAPKeyStore = new InMemoASAPKeyStore (this .getOwner ().toString ());
694698 }
0 commit comments