Identity Trait (iden)

Trait representing an identity.

AttributeValue
Idtag:google.com,2018:m2m:traits:identity:v1:v0#r0
Short-Ididen
Has-Childrenyes
Requirestag:google.com,2018:m2m:traits:base:v1:v0#r0

This trait is a work in progress.

Metadata Properties

NameKeyRWReqDescription
TraitURIm/iden/turiXXThe URI that uniquely identifies the specification used to implement this trait.

m/iden/turi : TraitURI

The URI that uniquely identifies the specification used to implement this trait.

AttributeValue
Value TypeURI-reference
FlagsCONST, REQ

Methods

KeyDescription
f/iden?addAdds a new rule to the identity.

f/iden?add : AddRule

Adds a new rule to the identity.

ArgReqReturnsDescription
typeXintegerKeychain item type parameter.
secrbyte stringSymmetric shared secret, or private key if cert is present.
identext stringIdentity to assume for any client using this item.
certbyte stringCertificate parameter.

Returns URI for the created keychain item.