Fix JWK kty error for symmetric keys
This commit is contained in:
parent
b18cd6d0af
commit
72a30966a1
|
@ -15,7 +15,7 @@ export class CryptoKey extends core.CryptoKey {
|
||||||
public usages: KeyUsage[] = [];
|
public usages: KeyUsage[] = [];
|
||||||
|
|
||||||
@JsonProp({ type: JsonPropTypes.String })
|
@JsonProp({ type: JsonPropTypes.String })
|
||||||
protected kty: string = "";
|
protected kty: string = "octet";
|
||||||
|
|
||||||
@JsonProp({ type: JsonPropTypes.String })
|
@JsonProp({ type: JsonPropTypes.String })
|
||||||
protected alg: string = "";
|
protected alg: string = "";
|
||||||
|
|
Reference in New Issue