SymmetricKeyParser Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.service.registry.serializers.SymmetricKeyParser

public class SymmetricKeyParser

Store primary and secondary keys Provide function for key length validation

Constructor Summary

Constructor Description
SymmetricKeyParser()

Empty constructor: Used only to keep GSON happy.

SymmetricKeyParser(String json)
SymmetricKeyParser(String primaryKey, String secondaryKey)

Method Summary

Modifier and Type Method and Description
String toJson()

Converts this into json and returns it

Constructor Details

SymmetricKeyParser

public SymmetricKeyParser()

Empty constructor: Used only to keep GSON happy.

SymmetricKeyParser

public SymmetricKeyParser(String json)

Parameters:

json

SymmetricKeyParser

public SymmetricKeyParser(String primaryKey, String secondaryKey)

Parameters:

primaryKey
secondaryKey

Method Details

toJson

public String toJson()

Converts this into json and returns it

Returns:

the json representation of this

Applies to