RegistrationRequest

public final class RegistrationRequest implements Parcelable


A registration request to store credential metadata and matcher logic.

Summary

Constants

static final @NonNull String

Public constructors

RegistrationRequest(
    @NonNull byte[] credentials,
    @NonNull byte[] matcher,
    @NonNull String type,
    @NonNull String requestType,
    @NonNull List<@NonNull String> protocolTypes
)
RegistrationRequest(
    @NonNull byte[] credentials,
    @NonNull byte[] matcher,
    @NonNull String type,
    @NonNull String requestType,
    @NonNull List<@NonNull String> protocolTypes,
    @NonNull String id
)

constructs an instance of RegistrationRequest

Public methods

final int
final @NonNull byte[]

the credential information as a ByteArray blob

final @NonNull String

the id of the given registry data, so as not to overwrite existing data of different id

final @NonNull byte[]

the matcher for the credential info, also as a ByteArray blob

final @NonNull List<@NonNull String>

deprecated

final @NonNull String

deprecated

final @NonNull String

the type of credentials matching the given registry data

void
writeToParcel(@NonNull Parcel dest, int flags)

Constants

TAG

public static final @NonNull String TAG

Public fields

CREATOR

public static final @NonNull Parcelable.Creator<@NonNull RegistrationRequestCREATOR

Public constructors

RegistrationRequest

public RegistrationRequest(
    @NonNull byte[] credentials,
    @NonNull byte[] matcher,
    @NonNull String type,
    @NonNull String requestType,
    @NonNull List<@NonNull String> protocolTypes
)

RegistrationRequest

public RegistrationRequest(
    @NonNull byte[] credentials,
    @NonNull byte[] matcher,
    @NonNull String type,
    @NonNull String requestType,
    @NonNull List<@NonNull String> protocolTypes,
    @NonNull String id
)

constructs an instance of RegistrationRequest

Parameters
@NonNull byte[] credentials

the credential information as a ByteArray blob

@NonNull byte[] matcher

the matcher for the credential info, also as a ByteArray blob

@NonNull String type

the type of credentials matching the given registry data

@NonNull String requestType

deprecated

@NonNull List<@NonNull String> protocolTypes

deprecated

@NonNull String id

the id of the given registry data, so as not to overwrite existing data of different id

Public methods

describeContents

public final int describeContents()

getCredentials

public final @NonNull byte[] getCredentials()

the credential information as a ByteArray blob

getId

public final @NonNull String getId()

the id of the given registry data, so as not to overwrite existing data of different id

getMatcher

public final @NonNull byte[] getMatcher()

the matcher for the credential info, also as a ByteArray blob

getProtocolTypes

public final @NonNull List<@NonNull StringgetProtocolTypes()

deprecated

getRequestType

public final @NonNull String getRequestType()

deprecated

getType

public final @NonNull String getType()

the type of credentials matching the given registry data

writeToParcel

public void writeToParcel(@NonNull Parcel dest, int flags)