PKD certificates
Allows to add a list of PKD certificates during initialization process, which will be passed to Core:
1
DocumentReader.Instance().addPKDCertificates(certificates);
Copied!
Allows to add a list of PKD certificates when PKD reading started, which will be passed to Core:
1
DocumentReader.Instance().startRFIDReader(new IDocumentReaderCompletion() {
2
@Override
3
public void onCompleted(int rfidAction, DocumentReaderResults results, Throwable error) {
4
// Completed RFID-chip processing
5
}
6
}, new DocumentReader.RfidReaderRequest() {
7
@Override
8
public void onRequestPACertificates(byte[] bytes, PAResourcesIssuer paResourcesIssuer, DocumentReader.RfidPKDCertificateCompletion rfidPKDCertificateCompletion) {
9
// Requested PA certificates
10
}
11
12
@Override
13
public void onRequestTACertificates(String s, DocumentReader.RfidPKDCertificateCompletion rfidPKDCertificateCompletion) {
14
// Requested TA certificates
15
}
16
17
@Override
18
public void onRequestTASignature(TAChallenge taChallenge, DocumentReader.RfidTASignatureCompletion rfidTASignatureCompletion) {
19
// Requested TA signature
20
}
21
});
Copied!
Allows to clear a list of PKD certificates, which has been passed to Core:
1
DocumentReader.Instance().clearPKDCertificates();
Copied!
Last modified 1yr ago
Copy link