-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented key attestation in openid4vci + misc. fixes.
Signed-off-by: Peter Sorotokin <[email protected]>
- Loading branch information
Showing
24 changed files
with
611 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
identity-flow/src/main/java/com/android/identity/flow/handler/InvalidRequestException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.android.identity.flow.handler | ||
|
||
import com.android.identity.cbor.annotation.CborSerializable | ||
import com.android.identity.flow.annotation.FlowException | ||
|
||
@FlowException | ||
@CborSerializable | ||
class InvalidRequestException(message: String?) : RuntimeException(message) { | ||
companion object | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...-issuance/src/main/java/com/android/identity/issuance/funke/AbstractRequestCredentials.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.android.identity.issuance.funke | ||
|
||
import com.android.identity.cbor.annotation.CborSerializable | ||
import com.android.identity.flow.annotation.FlowState | ||
import com.android.identity.issuance.CredentialConfiguration | ||
import com.android.identity.issuance.CredentialFormat | ||
import com.android.identity.issuance.RequestCredentialsFlow | ||
|
||
@FlowState( | ||
flowInterface = RequestCredentialsFlow::class | ||
) | ||
abstract class AbstractRequestCredentials( | ||
val documentId: String, | ||
val credentialConfiguration: CredentialConfiguration, | ||
val nonce: String, | ||
var format: CredentialFormat? = null, | ||
) { | ||
companion object | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.