@@ -16,7 +16,7 @@ class CredentialServiceKt(options: Options.TrinsicOptions.Builder?) : ServiceBas
1616 // BEGIN Code generated by protoc-gen-trinsic. DO NOT EDIT.
1717 // target: /home/runner/work/sdk/sdk/java/src/main/java/trinsic/services/CredentialServiceKt.kt
1818
19- @Throws(InvalidProtocolBufferException ::class , DidException :: class )
19+ @Throws(InvalidProtocolBufferException ::class )
2020 @Deprecated(" This endpoint will be removed around June 1, 2023" )
2121 suspend fun issue (request : IssueRequest ): IssueResponse {
2222 /* *
@@ -26,41 +26,41 @@ class CredentialServiceKt(options: Options.TrinsicOptions.Builder?) : ServiceBas
2626 */
2727 return withMetadata(stub, request).issue(request)
2828 }
29- @Throws(InvalidProtocolBufferException ::class , DidException :: class )
29+ @Throws(InvalidProtocolBufferException ::class )
3030 suspend fun issueFromTemplate (request : IssueFromTemplateRequest ): IssueFromTemplateResponse {
3131 /* *
3232 * Sign and issue a verifiable credential from a pre-defined template. This process will also
3333 * add schema validation and revocation registry values to the credential.
3434 */
3535 return withMetadata(stub, request).issueFromTemplate(request)
3636 }
37- @Throws(InvalidProtocolBufferException ::class , DidException :: class )
37+ @Throws(InvalidProtocolBufferException ::class )
3838 suspend fun checkStatus (request : CheckStatusRequest ): CheckStatusResponse {
3939 /* * Check credential status in the revocation registry */
4040 return withMetadata(stub, request).checkStatus(request)
4141 }
42- @Throws(InvalidProtocolBufferException ::class , DidException :: class )
42+ @Throws(InvalidProtocolBufferException ::class )
4343 suspend fun updateStatus (request : UpdateStatusRequest ): UpdateStatusResponse {
4444 /* * Update credential status by setting the revocation value */
4545 return withMetadata(stub, request).updateStatus(request)
4646 }
47- @Throws(InvalidProtocolBufferException ::class , DidException :: class )
47+ @Throws(InvalidProtocolBufferException ::class )
4848 suspend fun createProof (request : CreateProofRequest ): CreateProofResponse {
4949 /* *
5050 * Create a proof from a signed document that is a valid verifiable credential and contains a
5151 * signature from which a proof can be derived.
5252 */
5353 return withMetadata(stub, request).createProof(request)
5454 }
55- @Throws(InvalidProtocolBufferException ::class , DidException :: class )
55+ @Throws(InvalidProtocolBufferException ::class )
5656 suspend fun verifyProof (request : VerifyProofRequest ): VerifyProofResponse {
5757 /* *
5858 * Verifies a proof by checking the signature value, and if possible schema validation,
5959 * revocation status, and issuer status against a trust registry
6060 */
6161 return withMetadata(stub, request).verifyProof(request)
6262 }
63- @Throws(InvalidProtocolBufferException ::class , DidException :: class )
63+ @Throws(InvalidProtocolBufferException ::class )
6464 suspend fun send (request : SendRequest ): SendResponse {
6565 /* * Sends a document directly to a user's email within the given ecosystem */
6666 return withMetadata(stub, request).send(request)
0 commit comments