forked from keycloak/keycloak
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
68 additions
and
126 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
2 changes: 1 addition & 1 deletion
2
...ocol/oidc4vp/model/sdjwt/ArrayDigest.java → .../oidc4vp/model/sd_jwt_vc/ArrayDigest.java
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
4 changes: 1 addition & 3 deletions
4
...4vp/model/sdjwt/ArrayDisclosureClaim.java → ...model/sd_jwt_vc/ArrayDisclosureClaim.java
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
4 changes: 1 addition & 3 deletions
4
...col/oidc4vp/model/sdjwt/ArrayElement.java → ...oidc4vp/model/sd_jwt_vc/ArrayElement.java
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
4 changes: 1 addition & 3 deletions
4
.../oidc4vp/model/sdjwt/DisclosureClaim.java → ...c4vp/model/sd_jwt_vc/DisclosureClaim.java
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
8 changes: 1 addition & 7 deletions
8
...protocol/oidc4vp/model/sdjwt/SdClaim.java → ...ocol/oidc4vp/model/sd_jwt_vc/SdClaim.java
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
2 changes: 1 addition & 1 deletion
2
...col/oidc4vp/model/sdjwt/SdCredential.java → ...oidc4vp/model/sd_jwt_vc/SdCredential.java
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
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
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
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
4 changes: 1 addition & 3 deletions
4
...gnatures/EdDSASignatureSignerContext.java → ...g/jwt_vc/EdDSASignatureSignerContext.java
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
29 changes: 0 additions & 29 deletions
29
services/src/main/java/org/keycloak/protocol/oidc4vp/signing/signatures/SecuritySuite.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../signing/signatures/Ed255192018Suite.java → ...idc4vp/signing/vcdm/Ed255192018Suite.java
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
2 changes: 1 addition & 1 deletion
2
...ocol/oidc4vp/signing/LDSignatureType.java → ...oidc4vp/signing/vcdm/LDSignatureType.java
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
16 changes: 1 addition & 15 deletions
16
...ing/signatures/RsaSignature2018Suite.java → ...p/signing/vcdm/RsaSignature2018Suite.java
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
15 changes: 15 additions & 0 deletions
15
services/src/main/java/org/keycloak/protocol/oidc4vp/signing/vcdm/SecuritySuite.java
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,15 @@ | ||
package org.keycloak.protocol.oidc4vp.signing.vcdm; | ||
|
||
import org.keycloak.protocol.oidc4vp.model.VerifiableCredential; | ||
|
||
public interface SecuritySuite { | ||
|
||
byte[] transform(VerifiableCredential verifiableCredential); | ||
|
||
byte[] digest(byte[] transformedData); | ||
|
||
byte[] sign(byte[] hashData, String key); | ||
|
||
String getProofType(); | ||
|
||
} |
7 changes: 2 additions & 5 deletions
7
services/src/test/java/org/keycloak/protocol/oidc4vp/signing/LDSigningServiceTest.java
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