public static class TrustedAssetsManager.Factory
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | TAM_CLASS_PROPERTYThe system property name for configuring a custom  TrustedAssetsManagerimplementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| static TrustedAssetsManager | getTrustedAssetsManager(java.lang.Object context)Loads and instantiates a custom or the default  TrustedAssetsManager. | 
| static TrustedAssetsManager | getTrustedAssetsManager(java.lang.String path,
                       java.lang.String password,
                       java.lang.Object context)Loads and instantiates a custom or the default
  TrustedAssetsManager. | 
public static final java.lang.String TAM_CLASS_PROPERTY
TrustedAssetsManager 
 implementation.public static TrustedAssetsManager getTrustedAssetsManager(java.lang.Object context) throws java.security.GeneralSecurityException
TrustedAssetsManager.
 The class name of a custom TrustedAssetsManager to instantiate can be specified 
 using the "oracle.iot.client.tam" system property (see TAM_CLASS_PROPERTY); the specified TrustedAssetsManager
 class must have a public constructor accepting an Object parameter.
 If no custom TrustedAssetsManager-implementing class is specified or if
 the specified class cannot be found the default TrustedAssetsManager implementation
 is used.context - a platform specific object (e.g. application context),
                that needs to be associated with this client. In
                the case of Android, this is an android.content.Context
                provided by the application or service. In the case of Java SE,
                the parameter is not used and the value may be null.TrustedAssetsManager instance.java.security.GeneralSecurityException - if any error occurs loading and instantiating the TrustedAssetsManager.public static TrustedAssetsManager getTrustedAssetsManager(java.lang.String path, java.lang.String password, java.lang.Object context) throws java.security.GeneralSecurityException
TrustedAssetsManager. The class name of a custom
 TrustedAssetsManager to instantiate can be specified 
 using the "oracle.iot.client.tam" system property (see
 TAM_CLASS_PROPERTY); the specified TrustedAssetsManager class must have a public constructor
 accepting an Object parameter. If no custom TrustedAssetsManager-implementing class is specified or if
 the specified class cannot be found the default TrustedAssetsManager implementation is used.path - the path of the assets filepassword - the password, if neede of the assets filecontext - a platform specific object (e.g. application context),
                that needs to be associated with this client. In
                the case of Android, this is an android.content.Context
                provided by the application or service. In the case of Java SE,
                the parameter is not used and the value may be null.TrustedAssetsManager instance.java.security.GeneralSecurityException - if any error occurs loading and
     instantiating the TrustedAssetsManager.