Package 

Class SecurityManager

  • All Implemented Interfaces:

    
    public final class SecurityManager
    
                        

    Class responsible for managing the master encryption key (generation, storage and retrieval).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static Encryption getEncryption(Context context, @Nullable() Encryption encryption, boolean shouldEncryptStorage) Resolves the "master" encryption object (the one used for secure on device storage)
      static void clear(Context context)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getEncryption

        @NonNull() static Encryption getEncryption(Context context, @Nullable() Encryption encryption, boolean shouldEncryptStorage)

        Resolves the "master" encryption object (the one used for secure on device storage)

        Parameters:
        encryption - - user-specified encryption object (comes from the SDK configuration).
        shouldEncryptStorage - - indicates if encrypted storage should be used on device.