Class BtcrDid
java.lang.Object
org.consensusj.decentralizedid.Did
org.consensusj.decentralizedid.btcr.BtcrDid
BTCR DID
-
Field Summary
Fields inherited from class org.consensusj.decentralizedid.Did
DID_SCHEME, didUri
-
Constructor Summary
-
Method Summary
-
Field Details
-
METHOD
- See Also:
-
-
Constructor Details
-
BtcrDid
-
BtcrDid
- Throws:
URISyntaxException
-
-
Method Details
-
of
- Parameters:
uriString
- A string representing a DID URI- Returns:
- a valid DID
- Throws:
URISyntaxException
- If the URI string constructed from the given components violates RFC 2396
-
of
- Parameters:
didUri
- a DID URI- Returns:
- a valid DID
-
create
Create a DID from a known good string Similar to `java.net.url#create`- Parameters:
uriString
-- Returns:
- a valid DID
- Throws:
NullPointerException
- Ifstr
isnull
IllegalArgumentException
- If the given string violates RFC 2396
-