encode Individual Service
+ Encodes an individual service object according to the second algorithm.
Return
The encoded service string
Parameters
The service object to encode
diff --git a/-d-i-d-comm-d-i-d-peer/io.iohk.atala.prism.didcomm.didpeer.core/encode-individual-service.html b/-d-i-d-comm-d-i-d-peer/io.iohk.atala.prism.didcomm.didpeer.core/encode-individual-service.html new file mode 100644 index 0000000..8371cd5 --- /dev/null +++ b/-d-i-d-comm-d-i-d-peer/io.iohk.atala.prism.didcomm.didpeer.core/encode-individual-service.html @@ -0,0 +1,81 @@ + + +
+ +Encodes an individual service object according to the second algorithm.
The encoded service string
The service object to encode
Converts a JSON string to a Map
The converted Map
The JSON string to convert.
if the JSON string is not valid or if the value of any key in the JSON object is not of type JsonPrimitive or JsonArray.
Converts a JSON string to a Map
The converted Map
The JSON string to convert.
if the JSON string is not valid or if the value of any key in the JSON object is not of type JsonPrimitive or JsonArray.
Encodes an individual service object according to the second algorithm.
Represents a DIDComm service peer DID.
Converts the DIDCommServicePeerDID object to a mutable map representation.
The mutable map representation of the DIDCommServicePeerDID object.
Creates a new instance of DIDDocPeerDID from the given DID Doc JSON.
DIDDocPeerDID instance
DID Doc JSON
if the input DID Doc JSON is not a valid peerdid DID Doc
Creates a new instance of DIDDocPeerDID from the given DID Doc JSON.
DIDDocPeerDID instance
DID Doc JSON
if the input DID Doc JSON is not a valid peerdid DID Doc
Represents the agreementKids property in the DIDDocPeerDID class. It is a read-only property that returns a list of IDs of key agreements in the DID document.
The list of IDs of key agreements.
Represents the agreementKids property in the DIDDocPeerDID class. It is a read-only property that returns a list of IDs of key agreements in the DID document.
The list of IDs of key agreements.
Retrieves a list of IDs from the authentication list.
The list of authentication kid IDs.
Retrieves a list of IDs from the authentication list.
The list of authentication kid IDs.
Represents a PeerDID DID Document.
Represents a PeerDID DID Document.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.
Represents the different types of public key fields.
Represents the different types of public key fields.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
if this enum type has no constant with the specified name
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
if this enum type has no constant with the specified name
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
Represents a verification method used in PeerDID.
Represents a verification method used in PeerDID.
Represents a DIDComm service peer DID.