Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
filip26 committed Nov 26, 2023
1 parent 3a6df1b commit 8744ed1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ An implementation of the [Decentralized Identifiers (DIDs) v1.0](https://www.w3.
<dependency>
<groupId>com.apicatalog</groupId>
<artifactId>carbon-did</artifactId>
<version>0.0.7</version>
<version>0.1.0</version>
</dependency>

```
Expand All @@ -30,7 +30,7 @@ An implementation of the [Decentralized Identifiers (DIDs) v1.0](https://www.w3.
Android API Level >=24

```gradle
implementation("com.apicatalog:carbon-did:0.0.7")
implementation("com.apicatalog:carbon-did:0.1.0")
```


Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/apicatalog/did/key/DidKey.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
public class DidKey extends Did {

private static final long serialVersionUID = 582726516478574544L;
private static final long serialVersionUID = 3710900614215756688L;

public static final String METHOD_KEY = "key";

Expand Down
7 changes: 0 additions & 7 deletions src/main/java/com/apicatalog/did/key/DidKeyResolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ public DidDocument resolve(final Did did) {
* @return The new verification key
*/
public static DidVerificationMethod createSignatureMethod(DidKey didKey) {

// if (!Multicodec.Codec.Ed25519PublicKey.equals(didKey.getCodec())) {
// throw new IllegalArgumentException();
// }
// 5.
// String encodingType = ED25519_VERIFICATION_KEY_2020_TYPE;

return new DidVerificationMethod(
DidUrl.from(didKey, null, null, didKey.getMethodSpecificId()),
DidUrl.from(didKey, null, null, didKey.getMethodSpecificId()),
Expand Down

0 comments on commit 8744ed1

Please sign in to comment.