private void prepareDistinguishedNames(CertificateRequestMessage msg) { msg.setDistinguishedNames(chooser.getConfig().getDistinguishedNames()); LOGGER.debug("DistinguishedNames: " + ArrayConverter.bytesToHexString(msg.getDistinguishedNames().getValue())); }
/** * Reads the next bytes as the DistinguishedNames and writes them in the * message * * @param msg * Message to write in */ private void parseDistinguishedNames(CertificateRequestMessage msg) { msg.setDistinguishedNames(parseByteArrayField(msg.getDistinguishedNamesLength().getValue())); LOGGER.debug("DistinguishedNames: " + ArrayConverter.bytesToHexString(msg.getDistinguishedNames().getValue())); }