We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd90638 commit 6e76f57Copy full SHA for 6e76f57
1 file changed
packages/common/lib/types/CredentialIssuance.types.ts
@@ -124,10 +124,22 @@ export interface ProofOfPossessionCallbacks<DIDDoc> {
124
verifyCallback?: JWTVerifyCallback<DIDDoc>;
125
}
126
127
+/**
128
+ * Signature algorithms.
129
+ *
130
+ * TODO: Move towards string literal unions and string type, given we do not provide signature/key implementations in this library to begin with
131
+ * @See: https://github.com/Sphereon-Opensource/OID4VCI/issues/88
132
+ */
133
export enum Alg {
134
EdDSA = 'EdDSA',
135
ES256 = 'ES256',
136
ES256K = 'ES256K',
137
+ PS256 = 'PS256',
138
+ PS384 = 'PS384',
139
+ PS512 = 'PS512',
140
+ RS256 = 'RS256',
141
+ RS384 = 'RS384',
142
+ RS512 = 'RS512',
143
144
145
export type Typ =
0 commit comments