Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions sdk/src/main/java/io/opentdf/platform/sdk/SDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
public class SDK {
private final Services services;

interface KAS {
public interface KAS {
String getPublicKey(Config.KASInfo kasInfo);
byte[] unwrap(Manifest.KeyAccess keyAccess, String policy);
}

// TODO: add KAS
interface Services {
public interface Services {
AttributesServiceFutureStub attributes();
NamespaceServiceFutureStub namespaces();
SubjectMappingServiceFutureStub subjectMappings();
Expand Down Expand Up @@ -68,4 +68,8 @@ public KAS kas() {
SDK(Services services) {
this.services = services;
}

public Services getServices(){
return this.services;
}
}