-
Notifications
You must be signed in to change notification settings - Fork 29
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
1 parent
eee0cd0
commit abc4f5b
Showing
15 changed files
with
660 additions
and
326 deletions.
There are no files selected for viewing
295 changes: 0 additions & 295 deletions
295
...n/java/org/eclipse/edc/issuerservice/revocation/BitStringStatusListRevocationService.java
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
...ava/org/eclipse/edc/issuerservice/statuslist/StatusListCredentialFactoryRegistryImpl.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,35 @@ | ||
/* | ||
* Copyright (c) 2025 Cofinity-X | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Cofinity-X - initial API and implementation | ||
* | ||
*/ | ||
|
||
package org.eclipse.edc.issuerservice.statuslist; | ||
|
||
import org.eclipse.edc.issuerservice.spi.statuslist.StatusListCredentialFactoryRegistry; | ||
import org.eclipse.edc.issuerservice.spi.statuslist.StatusListInfoFactory; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
public class StatusListCredentialFactoryRegistryImpl implements StatusListCredentialFactoryRegistry { | ||
private final Map<String, StatusListInfoFactory> registry = new HashMap<>(); | ||
|
||
@Override | ||
public StatusListInfoFactory getStatusListCredential(String type) { | ||
return registry.get(type); | ||
} | ||
|
||
@Override | ||
public void register(String type, StatusListInfoFactory factory) { | ||
registry.put(type, factory); | ||
} | ||
} |
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
Oops, something went wrong.