Overview #
Decentralized Identifiers (DIDs) are a core component of Blerify’s architecture, enabling secure, verifiable, and privacy-respecting interactions.
A DID is a globally unique identifier that is created, controlled, and managed by the subject it identifies, without reliance on centralized authorities.
In Blerify, DIDs are used to issue, verify, and manage Verifiable Credentials. These DIDs comply with global standards such as the W3C DID Core Specification.
Structure of a DID #
A DID in Blerify follows the generic format defined by the W3C:
did:<method>:<unique-identifier>
Breakdown: #
did: The fixed prefix for all DIDs.
method: Specifies the DID method, such as
lacchain
for our implementation.unique-identifier: A unique string generated for each entity.
Example DID: #
did:lacchain:123456789abcdef
Blerify DID Method #
Blerify DID Method #
The lacchain
method leverages the LACChain blockchain network to ensure high performance, resilience, and compliance with regional regulations. This method ensures:
Decentralization: DIDs are generated and resolved without centralized control.
Interoperability: Fully compatible with Verifiable Credentials and other DID-enabled systems.
Security: Enhanced with cryptography and resistance to quantum attacks.
DID Method Operations #
Create: Generate a new DID using the LACChain infrastructure.
Read: Resolve a DID to its associated DID Document.
Update: Modify the DID Document (e.g., add a new verification method).
Deactivate: Revoke or retire a DID.
DID Document #
The DID Document is a JSON-LD file that contains all the metadata and cryptographic material associated with a DID. A typical DID Document includes:
id: The DID of the subject.
@context: Specifies the context for interpreting the document.
authentication: Lists public keys used to authenticate the DID.
verificationMethod: Cryptographic methods for verifying the subject’s identity.
service: Describes services related to the DID, such as credential issuance endpoints.
Example DID Document: #
{
"@context": "https://www.w3.org/ns/did/v1",
"id": "did:lacchain:123456789abcdef",
"verificationMethod": [
{
"id": "did:lacchain:123456789abcdef#keys-1",
"type": "EcdsaSecp256k1VerificationKey2019",
"controller": "did:lacchain:123456789abcdef",
"publicKeyHex": "02a3f2...f1b3e9"
}
],
"authentication": [
"did:lacchain:123456789abcdef#keys-1"
],
"service": [
{
"id": "did:lacchain:123456789abcdef#vc-issuer",
"type": "VerifiableCredentialService",
"serviceEndpoint": "https://api.blerify.com/vc"
}
]
}
DID Resolution #
Blerify provides an API for resolving DIDs to their corresponding DID Documents. The resolution process involves:
Inputting a DID.
Querying the LACChain network.
Returning the associated DID Document.
API Endpoint: #
URL:
https://api.blerify.com/did/resolve
Method:
GET
Parameters:
did
: The DID to be resolved.
Sample Request: #
GET /did/resolve?did=did:lacchain:123456789abcdef
Sample Response: #
{
"@context": "https://www.w3.org/ns/did/v1",
"id": "did:lacchain:123456789abcdef",
"verificationMethod": [...],
"authentication": [...],
"service": [...]
}
#
Use Cases #
Credential Issuance: Organizations issue credentials linked to a DID.
Verification: Verifiers authenticate users via their DIDs and verify associated credentials.
Interoperability: Enable seamless interaction across platforms supporting W3C DID standards.
Security Features #
Key Rotation: Support for updating public keys in the DID Document.
Quantum-Resistance: Integration of quantum-resistant algorithms in cryptographic operations.
Privacy: No unnecessary information stored on-chain; data resides in the DID Document.