Class AuthInfo
- java.lang.Object
-
- com.amazonaws.kinesisvideo.producer.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 Summary
Constructors Constructor Description AuthInfo(AuthInfoType authType, byte[] data, long expiration)Public constructorAuthInfo(AuthInfoType authType, String data, long expiration)Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthInfoTypegetAuthType()byte[]getData()longgetExpiration()intgetIntAuthType()intgetVersion()
-
-
-
Constructor Detail
-
AuthInfo
public AuthInfo(@Nonnull AuthInfoType authType, @Nullable String data, long expiration)
Public constructor- Parameters:
authType- Authentication typedata- String representation or NULLexpiration- Expiration in absolute time in 100ns
-
AuthInfo
public AuthInfo(@Nonnull AuthInfoType authType, @Nullable byte[] data, long expiration)
Public constructor- Parameters:
authType- Authentication typedata- Acual bits of the auth or NULLexpiration- Expiration in absolute time in 100ns
-
-
Method Detail
-
getAuthType
@Nonnull public AuthInfoType getAuthType()
-
getIntAuthType
@CalledByNativeCode public int getIntAuthType()
-
getData
@Nullable @CalledByNativeCode public byte[] getData()
-
getExpiration
@CalledByNativeCode public long getExpiration()
-
getVersion
public int getVersion()
-
-