public class AuthInfo
extends java.lang.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 and Description |
---|
AuthInfo(AuthInfoType authType,
byte[] data,
long expiration)
Public constructor
|
AuthInfo(AuthInfoType authType,
java.lang.String data,
long expiration)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
AuthInfoType |
getAuthType() |
byte[] |
getData() |
long |
getExpiration() |
int |
getIntAuthType() |
int |
getVersion() |
public AuthInfo(AuthInfoType authType, java.lang.String data, long expiration)
authType
- Authentication typedata
- String representation or NULLexpiration
- Expiration in absolute time in 100nspublic AuthInfo(AuthInfoType authType, byte[] data, long expiration)
authType
- Authentication typedata
- Acual bits of the auth or NULLexpiration
- Expiration in absolute time in 100nspublic AuthInfoType getAuthType()
public int getIntAuthType()
public byte[] getData()
public long getExpiration()
public int getVersion()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.