Class AuthInfo


  • public class AuthInfo
    extends Object
    Device Auth Info object.

    NOTE: This object will be used by the native code and resembles AuthInfo structure in the native codebase.

    NOTE: Suppressing Findbug error as this code will be accessed from native codebase.

    • Constructor Detail

      • AuthInfo

        public AuthInfo​(@Nonnull
                        AuthInfoType authType,
                        @Nullable
                        String data,
                        long expiration)
        Public constructor
        Parameters:
        authType - Authentication type
        data - String representation or NULL
        expiration - Expiration in absolute time in 100ns
      • AuthInfo

        public AuthInfo​(@Nonnull
                        AuthInfoType authType,
                        @Nullable
                        byte[] data,
                        long expiration)
        Public constructor
        Parameters:
        authType - Authentication type
        data - Acual bits of the auth or NULL
        expiration - Expiration in absolute time in 100ns