Skip to content

Commit 8744ed1

Browse files
committed
Minor improvements
1 parent 3a6df1b commit 8744ed1

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ An implementation of the [Decentralized Identifiers (DIDs) v1.0](https://www.w3.
2121
<dependency>
2222
<groupId>com.apicatalog</groupId>
2323
<artifactId>carbon-did</artifactId>
24-
<version>0.0.7</version>
24+
<version>0.1.0</version>
2525
</dependency>
2626

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

3232
```gradle
33-
implementation("com.apicatalog:carbon-did:0.0.7")
33+
implementation("com.apicatalog:carbon-did:0.1.0")
3434
```
3535

3636

src/main/java/com/apicatalog/did/key/DidKey.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
public class DidKey extends Did {
2525

26-
private static final long serialVersionUID = 582726516478574544L;
26+
private static final long serialVersionUID = 3710900614215756688L;
2727

2828
public static final String METHOD_KEY = "key";
2929

src/main/java/com/apicatalog/did/key/DidKeyResolver.java

-7
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,6 @@ public DidDocument resolve(final Did did) {
4848
* @return The new verification key
4949
*/
5050
public static DidVerificationMethod createSignatureMethod(DidKey didKey) {
51-
52-
// if (!Multicodec.Codec.Ed25519PublicKey.equals(didKey.getCodec())) {
53-
// throw new IllegalArgumentException();
54-
// }
55-
// 5.
56-
// String encodingType = ED25519_VERIFICATION_KEY_2020_TYPE;
57-
5851
return new DidVerificationMethod(
5952
DidUrl.from(didKey, null, null, didKey.getMethodSpecificId()),
6053
DidUrl.from(didKey, null, null, didKey.getMethodSpecificId()),

0 commit comments

Comments
 (0)