Newer
Older
### Build
To build the maven artifact, run: `mvn clean install`
The SDk is set up as a maven multi module to separate the (internal) API properly from implementation details
The api module consists of all domain model classes and (api-) public interfaces needed to build an sdk-client
### API Architecture
## Structure
```mermaid
classDiagram
class DecryptionService{
+ decryptString
+ decryptBytes
}
class EncryptionService{
+ encryptString
+ encryptBytes
}
class CryptoService{
}
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
class CertificateValidator{
+ validatePublicKey
}
class MetadataValidator{
+ validateMetadataSchema
+ validateMetadataHashValues
}
class MetadataService{
+ createMetadata
}
class OAuthService{
+ authenticate
}
class SubmissionSender{
OAuthService
EncryptionService
CertificateValidator
MetadataService
}
class SubmissionSubscriber{
OAuthService
DecryptionService
MetadataValidator
}
class FitCoClient{
ClientFactory
}
FitCoClient ..> ClientFactory : Uses
ClientFactory ..> SubmissionSender : Creates
ClientFactory ..> SubmissionSubscriber : Creates
SubmissionSender ..> CertificateValidator : Implements
SubmissionSender ..> EncryptionService : Implements
SubmissionSender ..> MetadataService : Implements
SubmissionSender ..> OAuthService : Implements
SubmissionSubscriber ..> OAuthService : Implements
SubmissionSubscriber ..> DecryptionService : Implements
SubmissionSubscriber ..> MetadataValidator : Implements
DecryptionService ..> CryptoService : IsA
EncryptionService ..> CryptoService : IsA
API implementations and Tests
### Documentation
https://docs.fitko.de/fit-connect/docs/
### Self Service Portal (DEV)
https://portal.auth-testing.fit-connect.fitko.dev/