public class EgkCardProtocol
extends java.lang.Object
Functionalities to write and read log entries accessProtocolEntry
| Constructor and Description |
|---|
EgkCardProtocol(de.gematik.ti.healthcardaccess.IHealthCard cardEgkHc,
de.gematik.ti.healthcardaccess.cardobjects.Format2Pin pin)
For Read
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ProtocolEntry> |
getAllProtocolEntries()
get all protocolEntries after read, for ef.logging it should be 50 constantly.
|
java.util.stream.Stream<ProtocolEntry> |
getValidProtocolEntries() |
de.gematik.ti.healthcardaccess.operation.ResultOperation<java.lang.Boolean> |
read()
The operation returns the access log of the eGK.
|
de.gematik.ti.healthcardaccess.operation.ResultOperation |
write(ProtocolEntry protocolEntry)
The operation writes the log entry accessProtocolEntry to the eGK
The prerequisite is that a preceding C2C Authentication has already been established the required security state.
|
public EgkCardProtocol(de.gematik.ti.healthcardaccess.IHealthCard cardEgkHc,
de.gematik.ti.healthcardaccess.cardobjects.Format2Pin pin)
For Read
cardEgkHc - pin - public de.gematik.ti.healthcardaccess.operation.ResultOperation write(ProtocolEntry protocolEntry)
The operation writes the log entry accessProtocolEntry to the eGK The prerequisite is that a preceding C2C Authentication has already been established the required security state.
protocolEntry - entry to writepublic de.gematik.ti.healthcardaccess.operation.ResultOperation<java.lang.Boolean> read()
The operation returns the access log of the eGK. The prerequisite is that the required safety status of the eGK has already been established before.
@TODO implementation of TIP1-A_7023 (gemKPT_Arch_TIP_V2.6.0)
public java.util.Collection<ProtocolEntry> getAllProtocolEntries()
get all protocolEntries after read, for ef.logging it should be 50 constantly.
public java.util.stream.Stream<ProtocolEntry> getValidProtocolEntries()