private byte[] generatePublicKeyXYPDU() {
        final byte[] tempXY = node.getProvisionerPublicKeyXY();
        ByteBuffer buffer = ByteBuffer.allocate(tempXY.length + 2);
        buffer.put(MeshManagerApi.PDU_TYPE_PROVISIONING);
        buffer.put(TYPE_PROVISIONING_PUBLIC_KEY);
        buffer.put(tempXY);
        return buffer.array();
    }
Constructs the provisioning publick key state.

@param node                        {@link UnprovisionedMeshNode} node.
@param internalTransportCallbacks  {@link InternalTransportCallbacks} callbacks.
@param provisioningStatusCallbacks {@link MeshProvisioningStatusCallbacks} callbacks.
mesh/src/main/java/no/nordicsemi/android/mesh/provisionerstates/ProvisioningPublicKeyState.java