Skip to content

PKD certificates

  • To add a list of PKD certificates during the initialization process that will be passed to Core, use:
DocumentReader.Instance().addPKDCertificates(certificates);
  • To add a list of PKD certificates when the PKD reading started that will be passed to Core, use:
DocumentReader.Instance().startRFIDReader(new IDocumentReaderCompletion() {
    @Override
    public void onCompleted(int rfidAction, DocumentReaderResults results, Throwable error) {
        // Completed RFID-chip processing
    }
}, new DocumentReader.RfidReaderRequest() {
    @Override
    public void onRequestPACertificates(byte[] bytes, PAResourcesIssuer paResourcesIssuer, DocumentReader.RfidPKDCertificateCompletion rfidPKDCertificateCompletion) {
        // Requested PA certificates
    }

    @Override
    public void onRequestTACertificates(String s, DocumentReader.RfidPKDCertificateCompletion rfidPKDCertificateCompletion) {
        // Requested TA certificates
    }

    @Override
    public void onRequestTASignature(TAChallenge taChallenge, DocumentReader.RfidTASignatureCompletion rfidTASignatureCompletion) {
        // Requested TA signature
    }
});
  • To clear a list of PKD certificates that has been passed to Core, use:
DocumentReader.Instance().clearPKDCertificates();
Back to top